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 / optimistsushma
B)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is quick sort in c?
What is integer constants?
What is array in C
which type of aspect you want from the student.
What is file in c language?
What does %p mean c?
What is methods in c?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
how to write optimum code to divide a 50 digit number with a 25 digit number??
Explain spaghetti programming?
What is difference between union and structure in c?
How can I do graphics in c?
What is sizeof array in c?
what are the facialities provided by you after the selection of the student.
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell