+ 1
Can somebody explain how it works?
4 Respostas
+ 3
Thanks bro
+ 1
I have created a pointer named "full_name" which stores the address of memory returned by malloc. So the value stored in the variable is an address. So how it prints the string when i just used
printf("\nHi, %s.", full_name);
I thought i should use *full_name in printf to print string
Because full_name just holds the addresss right?