0
what will be output?? #include<stdio.h> main() { int arr [10]={1,2,3,4,5,6,7,8,9,10}; int *p,*q; q=arr/2; p=arr*2; printf("%d %d",*p,*q); }
4 Respuestas
+ 1
it would propably be an error
+ 1
Garbage value will be printed as you have not specified any value to the address arr/2 and arr*2.
0
the name of an array is a const!
0
error ...bcz name of array is constant pointer