. 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
How can you determine the size of an allocated portion of memory?
What is the function of this pointer?
What is putchar() function?
How to write a code for reverse of string without using string functions?
Why calloc is better than malloc?
Why isnt there a numbered, multi-level break statement to break out
Explain the array representation of a binary tree in C.
What are directives in c?
Calculate 1*2*3*____*n using recursive function??
What is the use of sizeof () in c?
Are the variables argc and argv are always local to main?
diff between exptected result and requirement?
What is the meaning of && in c?
What is header file definition?
What are the types of data types and explain?