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 can you draw circles in C?

1197


What is a pointer on a pointer in c programming language?

1190


What is dangling pointer in c?

1333


How do I determine whether a character is numeric, alphabetic, and so on?

1185


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

1209


what is the significance of static storage class specifier?

2343


What is the -> in c?

1067


Can a pointer be volatile in c?

1044


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

1172


Explain what is the stack?

1158


What are the c keywords?

1256


int far *near * p; means

3623


Write a program to print "hello world" without using a semicolon?

1120


In a byte, what is the maximum decimal number that you can accommodate?

1199


Describe dynamic data structure in c programming language?

1140