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
Answers were Sorted based on User's Feedback
What does static mean in c?
What is the meaning of this decleration? unsigned char (*pArray[10][10]); please reply.
How do you write a program which produces its own source code as output?
What is a string?
what is the similarities between. system call and library function?
What is the benefit of using const for declaring constants?
praagnovation
What is difference between union All statement and Union?
What is a struct c#?
wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain
I have a varargs function which accepts a float parameter?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same