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

B

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a example of a variable?

1019


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1317


What is || operator and how does it function in a program?

1091


What is your stream meaning?

1233


Explain what is meant by 'bit masking'?

1195


What is a good way to implement complex numbers in c?

1051


Write the Program to reverse a string using pointers.

1019


Why doesnt the call scanf work?

1195


What is difference between structure and union in c programming?

1106


Write a Program to find whether the given number or string is palindrome.

1276


Is int a keyword in c?

980


How does selection sort work in c?

1038


What is the use of void pointer and null pointer in c language?

1123


Why isnt any of this standardized in c?

1081


What is #define used for in c?

1062