Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- int main() {
- char zName[64];
- printf( "name? ");
- scanf( "%s" , (char*)&zName );
- printf( "Hello, %s!\n" , zName );
- if (strlen( zName ) > 12) {
- puts("What a big name!");
- }
- getchar();
- getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement