. 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 how can you avoid including a header more than once?

595


What is a null pointer in c?

591


What does %p mean?

588


What are types of structure?

600


How do I round numbers?

595






What is meant by int main ()?

714


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1209


write a program to print data of 5 five students with structures?

1604


Is c high or low level?

577


Can you add pointers together? Why would you?

640


What functions are used in dynamic memory allocation in c?

593


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

608


What is a shell structure examples?

586


What is a spanning Tree?

948


Write a program to find the biggest number of three numbers in c?

588