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

#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}

Answer Posted / nb

i = 2 (i dont change)
j = 6 (++i = 3 and in i++ increments after calculating j )

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does sizeof know array size?

1092


What does the characters “r” and “w” mean when writing programs that will make use of files?

1445


What is c programing language?

1058


Explain how do you sort filenames in a directory?

998


Which built-in library function can be used to match a patter from the string?

1259


When we use void main and int main?

1041


Why is sizeof () an operator and not a function?

993


Can a pointer be volatile in c?

959


What are the different file extensions involved when programming in C?

1220


Why enum is used in c?

920


What does c mean before a date?

1134


hi send me sample aptitude papers of cts?

2120


What is file in c preprocessor?

1101


List some of the dynamic data structures in C?

1209


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

1002