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

Why c is called top down?

1157


How is = symbol different from == symbol in c programming?

1045


How can you check to see whether a symbol is defined?

1101


What is the general form of #line preprocessor?

992


How many header files are in c?

1038


What are linked lists in c?

1130


Why do we write return 0 in c?

1049


What is line in c preprocessor?

1056


What are reserved words with a programming language?

1137


What is a struct c#?

1049


When we use void main and int main?

1080


What is the most efficient way to store flag values?

1182


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2692


In c programming language, how many parameters can be passed to a function ?

1110


What is the newline escape sequence?

1073