+ 1

What is the use of n here ?

Why changing the value of n doesn't affect the result ? https://code.sololearn.com/cjB6zkGs8WjD/?ref=app

8th Jul 2019, 7:02 PM
Krishna Kumar
Krishna Kumar - avatar
1 Antwort
0
Write this int (*ptr)[n]=a[i]; Instead of writing int (*ptr)[n]=a;
19th Mar 2020, 12:19 PM
Sohanur Rahman
Sohanur Rahman - avatar