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
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
Tell me the use of bit field in c language?
How can I send mail from within a c program?
What is queue in c?
Explain the difference between null pointer and void pointer.
What is difference between scanf and gets?
What is c mainly used for?
What are the preprocessor categories?
Why c language is called c?
What is the importance of c in your views?
What are qualifiers?
Is it better to use a macro or a function?
Why c is called a middle level language?
What is type qualifiers?
What is size of union in c?