7th Oct 2019, 4:25 PM
Joѕнυα
Joѕнυα - avatar
4 Réponses
+ 3
Thanks bro
7th Oct 2019, 5:31 PM
Joѕнυα
Joѕнυα - avatar
+ 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?
7th Oct 2019, 4:48 PM
Joѕнυα
Joѕнυα - avatar