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 meant by inheritance?

1090


string reverse using recursion

2468


What is wrong with this initialization?

1007


What is hash table in c?

1025


a value that does not change during program execution a) variabe b) argument c) parameter d) none

1238


Why flag is used in c?

1134


What do you mean by keywords in c?

1153


What is a nested loop?

1129


largest Of three Number using without if condition?

1602


Explain what is a const pointer?

1087


Explain zero based addressing.

1030


Is printf a keyword?

1203


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

2178


Explain the difference between call by value and call by reference in c language?

1115


What are the advantages of using new operator as compared to the function malloc ()?

1350