12. 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 / basha
error: wrong type argument to increment
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is a substring in c?
Is register a keyword in c?
What is the best style for code layout in c?
Differentiate between the = symbol and == symbol?
What is bubble sort technique in c?
Why c is called a middle level language?
Why C language is a procedural language?
What is the difference between a function and a method in c?
Is multithreading possible in c?
What is a class c rental property?
Explain what is operator promotion?
Does c have class?
Tell me is null always defined as 0(zero)?
Is anything faster than c?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?