Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int xn = 60;
- char sz[111] = "SONY";
- /////////////////////////////////////////////////////////////
- int main() //
- {
- printf("sz = %s \n", sz);
- }
- /*
- #include <stdio.h>
- int xn = 6;
- /////////////////////////////////////////////////////////////
- int main() //
- {
- switch(xn)
- {
- case 1: printf("Jan\n");
- break;
- case 2: printf("Feb\n");
- break;
- case 6: printf("Jun\n");
- break;
- default: printf("Error !!!\n");
- }
- return 0;
- }
- */
- /*
- #include <stdio.h>
- int xn = 7;
- /////////////////////////////////////////////////////////////
- int main() //
- {
- int i = 2;
- SONY:
- printf("%2d * %2d = %2d \n", i, xn, i * xn);
- i++;
- if(i < 10) goto SONY;
- return 0;
- }
- */
- /*
- #include <stdio.h>
- int xn = 7;
- /////////////////////////////////////////////////////////////
- int main() //
- {
- for(int i = 2; i < 10; i++)
- {
- printf("%d * %d = %d \n", i, xn, i * xn);
- }
- return 0;
- }
- */
- /*
- #include <stdio.h>
- int xn = 12;
- /////////////////////////////////////////////////////////////
- int main() //
- {
- if(xn == 12) printf("jhsdkjfh\n");
- printf("SONY\n");
- printf("JVC\n");
- goto L_01;
- printf("TDK\n");
- printf("DENON\\\n");
- L_01:
- return 0;
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement