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

what will be the output of this program?
void main()
{
int a[]={5,10,15};
int i=0,num;
num=a[++i] + ++i +(++i);
printf("%d",num);
}

Answer Posted / gerda

15

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the restrictions of a modulus operator?

1125


Explain how many levels deep can include files be nested?

1077


What is the use of putchar function?

1057


Define the scope of static variables.

1132


What are structural members?

1015


how to count no of words,characters,lines in a paragraph.

4430


What is nested structure in c?

1068


What is struct node in c?

1075


What is the purpose of ftell?

1085


Can a variable be both constant and volatile?

1125


Is flag a keyword in c?

1154


What is volatile keyword in c?

1037


Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

1280


How do you print only part of a string?

1023


Distinguish between actual and formal arguments.

1085