. 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
What is the difference between int main and void main?
What are type modifiers in c?
Are pointers integer?
What is static function in c?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
How can I change their mode to binary?
What is a good data structure to use for storing lines of text?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
Write a program to print fibonacci series using recursion?
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
When should a type cast not be used?
Differentiate between Macro and ordinary definition.
What is the best way to store flag values in a program?
please explain every phase in the "SDLC" in the dotnet.