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 / jitendra kumar arya
c
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Explain how are portions of a program disabled in demo versions?
What was noalias and what ever happened to it?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
Do you know the use of fflush() function?
Is main an identifier in c?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
How do I round numbers?
What is the difference between #include
What are the __date__ and __time__ preprocessor commands?
What are the parts of c program?
what is the diffrenet bettwen HTTP and internet protocol
how to capitalise first letter of each word in a given string?
Which function in C can be used to append a string to another string?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
how should functions be apportioned among source files?