+ 1
Is it necessary to use pointers ? And why
Example array a printf ("%d",a [i]); p=a; printf ("%d",*(ptr+i)); Why use pointer if we can directly use array variable?
4 Answers
+ 1
Sorry I didn't get you
0
The compiler automatically turns your first case into the other case, so yes, and you can use pointers in other ways too
0
You have to compile your code first; and the compiler will turn the first case into the other case
0
You have to compile your code first; and the compiler will turn the first case into the other case