. Consider the following program
main()
{
int a[5]={1,3,6,7,0};
int *b;
b=&a[2];
}
The value of b[-1] is
(A) 1 (B) 3 (C) -6 (D) none
Answer Posted / gagan
answer is 3
bcz b[0]=6 so b[-1]=3
Is This Answer Correct ? | 23 Yes | 6 No |
Post New Answer View All Answers
What is variable in c example?
how many key words availabel in c a) 28 b) 31 c) 32
Describe wild pointers in c?
What is #include called?
Explain how do you determine whether to use a stream function or a low-level function?
How can you read a directory in a C program?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What is the use of f in c?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
What is difference between constant pointer and constant variable?
Explain how can I convert a number to a string?
Why we not create function inside function.
How variables are declared in c?
When can a far pointer be used?
what is recursion in C