Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- char c = '!';
- int nDima = 71;
- ////////////////////////////////////////////////////
- int main() //
- {
- printf("%c\n", c);
- //scanf("%c", &c);
- scanf ("%d" , &nDima);
- printf("%d\n", nDima);
- printf("%d\n", sizeof(char) );
- }
- /*
- #include <stdio.h>
- char c = '!';
- char sz[23] = "Apple";
- ////////////////////////////////////////////////////
- int main() //
- {
- printf("%c\n", c);
- printf("%d\n", c);
- c = 72;
- printf("%c\n", c);
- printf("%c\n", sz[3] );
- sz[3] = 'S';
- printf("%s\n", sz);
- }
- */
- /*
- #include <stdio.h>
- int n = 14;
- char sz[23] = "Apple";
- ////////////////////////////////////////////////////
- int main() //
- {
- printf("SONY\n");
- printf("%s\n", "SONY");
- printf("%d\n", 50);
- printf("%d\n", n);
- n ++;
- printf("%d - - - %s\n", n, sz);
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement