string in c
char c[100];
c = "C programming"; // Error! array type is not assignable.
string in c
char c[100];
c = "C programming"; // Error! array type is not assignable.
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);
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us