Output of the following program will be:

1.9 Output of the following program will be:
main( )
{
int a [ ] = {1, 2, 9, 8, 6, 3, 5, 7, 8, 9};
int *p = a+1;
int *q = a+6;
printf (“\n%d”, q-p);
}
A) 9
B) 5
C) 2
D) None of the above

Leave a Reply