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
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Under what circumstances does a name clash occur?
which type of aspect you want from the student.
Explain what is gets() function?
Where register variables are stored in c?
What are the types of macro formats?
Explain the difference between getch() and getche() in c?
How do I create a directory? How do I remove a directory (and its contents)?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What is structure in c definition?
What are the application of void data type in c?
What is bubble sort in c?
Explain what are reserved words?
Is flag a keyword in c?