. 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 / kupendiran
3
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is it fine to write void main () or main () in c?
When the macros gets expanded?
What is function in c with example?
Give the rules for variable declaration?
Explain how can I open a file so that other programs can update it at the same time?
Why can’t constant values be used to define an array’s initial size?
What is the difference between far and near ?
how can f be used for both float and double arguments in printf? Are not they different types?
What are local static variables? How can you use them?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is a built-in function in C?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
List some of the static data structures in C?
Why doesnt the call scanf work?
What are the types of pointers in c?