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!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 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 Respuestas