+ 1

doubt in assigning value in an array with pointer and without pointer

https://code.sololearn.com/cA62zYHz7Z8S hi friends here is my code what is the difference between a[2]=6; and *b[2]=6; Thank you...!

8th Jul 2019, 6:02 AM
malepu rakesh
malepu rakesh - avatar
1 Respuesta
+ 4
It's effectively the same. You also need to remove the unnecessary line numbers from the code.
8th Jul 2019, 6:17 AM
Sonic
Sonic - avatar