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!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta