What's the difference between a pointer to a string to which i have assigned malloc and an array of chars? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

What's the difference between a pointer to a string to which i have assigned malloc and an array of chars?

I'm learning in C, and i can't seem to find any differences between the two aformentioned datatypes.

19th Apr 2019, 9:33 PM
Alexander Sheremet
Alexander Sheremet - avatar
0 Réponse