. 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
What is a good way to implement complex numbers in c?
Explain what is the stack?
Write a program to reverse a given number in c language?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
What are the different properties of variable number of arguments?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
Is c is a low level language?
Differentiate between null and void pointers.
What does 3 periods mean in texting?
Explain how do you print an address?
Why we write conio h in c?
What is static memory allocation?
What’s a signal? Explain what do I use signals for?
What is pointer in c?
Is c easy to learn?