. 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 / veerendra
here b is an pointer. u r askng the value stored in a b's
array of -1....pointer may not be array here..
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between ++u and u++?
Explain continue keyword in c
What are keywords c?
How can a program be made to print the line number where an error occurs?
explain what are actual arguments?
What is int main () in c?
What is assert and when would I use it?
What is a spanning Tree?
What is calloc()?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
What is strcpy() function?
What is static and auto variables in c?
Write a factorial program using C.
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
What is the difference between text and binary modes?