Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- __int8 sz[] = "RtTY";
- __int8 c = 'A';
- /////////////////////////////////////////////////////
- int main() //
- {
- printf("%c\n", sz[2]);
- printf("%c" , c);
- }
- /*
- #include <stdio.h>
- int n = 77;
- char sz[] = "RvvY";
- /////////////////////////////////////////////////////
- int main() //
- {
- int i = 0;
- do
- {
- printf("%d = %c\n", i, sz[i]);
- } while(++i < 4);
- }
- */
- /*
- #include <stdio.h>
- int n = 77;
- char sz[] = "aNNY";
- /////////////////////////////////////////////////////
- int main() //
- {
- int i = 0;
- x:
- printf("%2d\n", sz[i]);
- i++;
- if(i < 5) goto x;
- }
- */
- /*
- #include <stdio.h>
- int n = 77;
- char sz[5] = "NNNY";
- /////////////////////////////////////////////////////
- int main() //
- {
- // printf("%c", sz[0]);
- // printf("%c", sz[1]);
- // printf("%c", sz[2]);
- int i = 0;
- for(; ; )
- {
- printf("%c", sz[i]);
- i++;
- if(i == 4) break;
- }
- }
- */
- /*
- #include <stdio.h>
- int n = 77;
- char sz[99] = "n = %d";
- /////////////////////////////////////////////////////
- int main() //
- {
- n = 5;
- printf(sz, n);
- return 0;
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement