Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

input string value in c

#include <stdio.h>
int main()
{
   char str[20];
   scanf("%[^
]%*c", str);
   printf("%s", str);
 
   return 0;
}
 
PREVIOUS NEXT
Tagged: #input #string
ADD COMMENT
Topic
Name
9+5 =