. 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 / sujay
I think the answer is none
bcoz b is a pointer var so, it points to an ad location
the answer is not any of the given options
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is an expression?
What are data structures in c and how to use them?
What is union in c?
How many levels of pointers have?
What are the disadvantages of a shell structure?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
Why main is not a keyword in c?
What language is c written?
What are preprocessor directives in c?
What is #ifdef ? What is its application?
Differentiate between ordinary variable and pointer in c.
Explain how can you check to see whether a symbol is defined?
What are the types of pointers in c?
What is the difference between declaring a variable and defining a variable?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?