Look at the Code:
main()
{
int a[]={1,2,3},i;
for(i=0;i<3;i++)
{
printf("%d",*a);
a++;
}
}
Which Statement is/are True w.r.t the above code?
I.Executes Successfully & Prints the contents of the array
II.Gives the Error:Lvalue Required
III.The address of the array should not be changed
IV.None of the Above.
A)Only I B)Only II C)II & III D)IV
Answer Posted / santhoo035
C
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is meant by inheritance?
string reverse using recursion
What is wrong with this initialization?
What is hash table in c?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
Why flag is used in c?
What do you mean by keywords in c?
What is a nested loop?
largest Of three Number using without if condition?
Explain what is a const pointer?
Explain zero based addressing.
Is printf a keyword?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
Explain the difference between call by value and call by reference in c language?
What are the advantages of using new operator as compared to the function malloc ()?