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 / 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

What is wrong with this statement? Myname = 'robin';

1325


How to compare array with pointer in c?

1104


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

1247


Write a program to swap two numbers without using third variable?

1299


How do you print an address?

1269


Difference between malloc() and calloc() function?

1199


What is the use of ?: Operator?

1137


Are the expressions * ptr ++ and ++ * ptr same?

1151


How does placing some code lines between the comment symbol help in debugging the code?

994


Are there any problems with performing mathematical operations on different variable types?

1040


In C language, a variable name cannot contain?

1276


Explain how can you restore a redirected standard stream?

1099


What are control structures? What are the different types?

1091


What is difference between main and void main?

1210


What is static volatile in c?

1019