. 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 / cvramana.reddy10
please answer it with reason..
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
What is meant by gets in c?
What is n in c?
What is dynamic dispatch in c++?
Explain the Difference between the New and Malloc keyword.
What is const and volatile in c?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What is difference between stdio h and conio h?
What is function prototype in c with example?
What is volatile variable in c?
Explain the difference between exit() and _exit() function?
Differentiate between functions getch() and getche().
Is exit(status) truly equivalent to returning the same status from main?
How would you obtain the current time and difference between two times?
Why can arithmetic operations not be performed on void pointers?
Explain the difference between null pointer and void pointer.