Question 6 Consider the following C program: #include <stdio.h> int main () { int arr [] = {1,2,3,4,5,6,7,8,9,0,1,2,5}, *ip = arr+4; printf ("%d\n", ip[1]); return 0; […]
Question 18 The output of the following code is: int main() { static int x[ ]={1,2,3,4,5,6,7,8} int i; for(i=2;i<6;++i) x[x[i]]=x[i]; for(i=0;i<8;++i) printf(“%d”,x[i]); Return 0; } A […]