Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is "Duff's Device"?

1221


Should I learn data structures in c or python?

1072


What is n in c?

1109


What is #define in c?

1106


What is the size of empty structure in c?

1127


What’s the special use of UNIONS?

1205


Where are some collections of useful code fragments and examples?

1193


What is the best way to store flag values in a program?

1123


Tell me what are bitwise shift operators?

1172


Explain what is the difference between null and nul?

1212


Write a program of advanced Fibonacci series.

1203


Explain what is the advantage of a random access file?

1175


What is the advantage of using #define to declare a constant?

1156


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1783


Why do we use namespace feature?

1121