In C what is meant by variable declaration and variable definition?
int a; -----> declaration
a = 10; -------> definition
Is this correct? Or it is other way around?
Then what is "int a =...
Type: Posts; User: callkalpa
In C what is meant by variable declaration and variable definition?
int a; -----> declaration
a = 10; -------> definition
Is this correct? Or it is other way around?
Then what is "int a =...
Thanks
void new_friend(){
char *name;
char *phone;
char *email;
printf("\n------New friend info------\n");
printf("Name: ");
scanf("%s", name);
printf("Phone-No: ");
scanf("%s", phone);