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 / rajesh kumar mahto

i=5 and j=11 (100% correct answer)
this is because
j=5+4+2(right to left execution)
i=5 due to latest updation of i.

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

1047


Define macros.

1268


a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

998


What is local and global variable in c?

1196


What is non linear data structure in c?

1022


What is variables in c?

1050


What is #define size in c?

1189


What is a char c?

1043


Is c procedural or object oriented?

1002


Why calloc is better than malloc?

1033


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1250


a program that can input number of records and can view it again the record

1909


Why flag is used in c?

1130


What are pointers? What are different types of pointers?

1137


What is dynamic dispatch in c++?

1054