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 / kapil

i=5
j=11


j=3+4+4; (i++ post increment)
after this step i value become 5(i++)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I automatically locate a programs configuration files in the same directory as the executable?

1232


what is a constant pointer in C

1245


What are reserved words?

1159


How can you convert integers to binary or hexadecimal?

1074


What is class and object in c?

1177


Explain how do you sort filenames in a directory?

1077


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5702


Why do we use null pointer?

1116


Why calloc is better than malloc?

1093


Explain how do you determine whether to use a stream function or a low-level function?

1135


Explain the use of function toupper() with and example code?

1171


With the help of using classes, write a program to add two numbers.

1081


How is a pointer variable declared?

1158


What are the basic data types associated with c?

1317


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2288