. 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


Please Help Members By Posting Answers For Below Questions

Explain the difference between ++u and u++?

640


Explain continue keyword in c

588


What are keywords c?

603


How can a program be made to print the line number where an error occurs?

652


explain what are actual arguments?

637






What is int main () in c?

627


What is assert and when would I use it?

580


What is a spanning Tree?

957


What is calloc()?

629


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?

981


What is strcpy() function?

657


What is static and auto variables in c?

567


Write a factorial program using C.

645


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

1928


What is the difference between text and binary modes?

648