Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

scanf string in c

#include<stdio.h>
void main(){
    char Name[100];
    printf("enter your name:
");
    scanf("%s",&Name);
    printf("WELLCOME BACK %s",Name);
}
 
PREVIOUS NEXT
Tagged: #scanf #string
ADD COMMENT
Topic
Name
3+3 =