Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c get string

#include <stdio.h>
int main()
{
    char name[20];
    printf("Enter your name: ");
    scanf("%s", name);
    printf("Your name is %s.", name);
    return 0;
}
 
PREVIOUS NEXT
Tagged: #string
ADD COMMENT
Topic
Name
1+2 =