Created
July 25, 2017 19:10
-
-
Save ThePratikSah/33a7954d0aa167912d7667236bae8e20 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(){ | |
char name[20]; | |
printf("Enter your full name: "); | |
scanf("%[^\n]s", name); | |
printf("Your name is %s.", name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment