string inc program code example
Example: string in c programming
#include <stdio.h>
int main(){
char name[10];
printf("What is your name: \n");
scanf("%s", name);
printf("Hello, %s!\n", name);
}
#include <stdio.h>
int main(){
char name[10];
printf("What is your name: \n");
scanf("%s", name);
printf("Hello, %s!\n", name);
}