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

12. 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 / fakkad

2

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I swap bytes?

1074


Explain pointers in c programming?

1115


How do we open a binary file in Read/Write mode in C?

1240


What are the complete rules for header file searching?

1089


What are run-time errors?

1118


What is malloc() function?

1160


What is scanf_s in c?

1125


When should a type cast be used?

1017


Is null equal to 0 in sql?

1150


code for quick sort?

2033


Is that possible to add pointers to each other?

1373


What is structure data type in c?

1022


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2449


What is the symbol indicated the c-preprocessor?

1249


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1220