. 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 a constant and types of constants in c?
Can a local variable be volatile in c?
Explain what is gets() function?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
How are pointers declared in c?
What is the use of getchar functions?
What is use of #include in c?
i have a written test for microland please give me test pattern
What is #line in c?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
What does %p mean c?
Explain what is the most efficient way to store flag values?
Explain the difference between malloc() and calloc() in c?
What is c value paradox explain?
What are the modifiers available in c programming language?