Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- unsigned char c3 = 245;
- /////////////////////////////////////////////////////
- int main()
- {
- int i = 245;
- L_01: c3++;
- i++;
- printf("%3d\n", c3);
- if( i < 270) goto L_01;
- }
- #include <stdio.h>
- unsigned __int8 n3 = 245;
- /////////////////////////////////////////////////////
- int main()
- {
- for(int i = 245; i < 270; i++ )
- {
- n3++;
- printf("%3d\n", n3);
- }
- }
- /*
- #include <stdio.h>
- #include <string.h>
- char c = 87;
- int n = 87;
- __int32 n2 = 88;
- __int16 n3 = 89;
- /////////////////////////////////////////////////////
- int main()
- {
- printf("%c\n", n3);
- printf("sizeof(char) = %d\n", sizeof(char));
- printf("sizeof( int) = %d\n", sizeof(n3 ));
- }
- */
- /*
- #include <stdio.h>
- #include <string.h>
- char sz[99] = "TDK";
- /////////////////////////////////////////////////////
- int main()
- {
- strcpy(sz, "Pictures");
- printf("%s\n", sz);
- }
- */
- /*
- #include <stdio.h>
- #include <string.h>
- char c = 'A';
- char sz[99] = "TDK";
- /////////////////////////////////////////////////////
- int main()
- {
- printf("%c\n", c);
- printf("%d\n", c);
- printf("%s\n", sz);
- sz[0] = 'S';
- sz[1] = 'O';
- sz[2] = 'N';
- sz[3] = 'Y';
- sz[4] = 0 ;
- printf("%s\n", sz);
- strcpy(sz, "Pictures");
- printf("%s\n", sz);
- }
- */
- /*
- #include <stdio.h>
- char c = 'A';
- /////////////////////////////////////////////////////
- int main()
- {
- printf("%c\n", c);
- printf("%d\n", c);
- }
- */
- /*
- #include <stdio.h>
- /////////////////////////////////////////////////////
- int main()
- {
- char sz [99],
- sz2[99] = "%s, %s\n";
- scanf("%s", sz);
- printf(sz2, "SONY", sz);
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement