. 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 / cvramana.reddy10
please answer it with reason..
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
Is this program statement valid? INT = 10.50;
What are the two types of structure?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
The file stdio.h, what does it contain?
Can you please explain the difference between syntax vs logical error?
Explain which function in c can be used to append a string to another string?
What is a const pointer?
What is an arrays?
What is the need of structure in c?
Explain what is the use of a semicolon (;) at the end of every program statement?
Can we change the value of constant variable in c?
What are header files why are they important?
What does 1f stand for?
What is the difference between array_name and &array_name?
Write a Program to accept different goods with the number, price and date of purchase and display them