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 / kailas.s.patil

i = 2;
first ++i = 3.
second ++i = 4.
third i++ = 5;
now i =5;

then, j = 3 + 4 + 5 = 12

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I change their mode to binary?

1135


What is the difference between #include and #include 'file' ?

1077


What is the advantage of using #define to declare a constant?

1103


What are identifiers and keywords in c?

1113


What are bitwise shift operators in c programming?

1094


What is the advantage of an array over individual variables?

1248


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

1385


Why can’t we compare structures?

1287


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1733


Difference between strcpy() and memcpy() function?

1162


Tell me what is the purpose of 'register' keyword in c language?

1012


How can I convert a number to a string?

1213


Why is structure important for a child?

1108


What does #pragma once mean?

1179


What is derived datatype in c?

1107