Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

string input in c

#include <stdio.h>

int main () {
   char str1[90], str2[90];

   printf("Enter name: 
");
   scanf("%s", &str1);

   printf("Enter your website name: 
");
   scanf("%s", &str2);
 
PREVIOUS NEXT
Tagged: #string #input
ADD COMMENT
Topic
Name
5+1 =