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


Please Help Members By Posting Answers For Below Questions

Explain how are portions of a program disabled in demo versions?

659


What was noalias and what ever happened to it?

596


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

1848


Do you know the use of fflush() function?

605


Is main an identifier in c?

607






Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

612


How do I round numbers?

606


What is the difference between #include

and #include “header file”?

557


What are the __date__ and __time__ preprocessor commands?

580


What are the parts of c program?

642


what is the diffrenet bettwen HTTP and internet protocol

1396


how to capitalise first letter of each word in a given string?

1436


Which function in C can be used to append a string to another string?

649


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 .

1909


how should functions be apportioned among source files?

632