Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- char c = 'g';
- char sz[99] = "an apple is very tasty";
- ////////////////////////////////////////////////////////
- int main()
- {
- for(int i = 0; i < strlen(sz); i++)
- {
- sz[i] ++;
- }
- printf("sz = %s\n", sz );
- for(int i= 0; i < strlen(sz); i++)
- {
- sz [i]--;
- }
- printf("sz = %s\n", sz );
- printf("77 = %d\n", 77);
- printf("c = %c\n", c );
- printf("c = %d\n", c );
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement