To Take User Input from Console.
int scanf(const char *format, ...)
#include int main() { char str1[20], str2[30]; printf("Enter name: "); scanf("%s", &str1); printf("Enter your website name: "); scanf("%s", &str2); printf("Entered Name: %s", str1); printf("Entered Website:%s", str2); return(0); }
output
tutorialspoint.com