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 / ashok reddy

intially i=2
j=++i + ++i + i++;
in this statament it calculates from r-l
so j=5+4+2
and the last value of i is 5
so i=5 and j=11
is the correct answer

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ambagious result in C? explain with an example.

2578


what is the difference between 123 and 0123 in c?

1173


What is void main () in c?

1172


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2094


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2646


What is "Duff's Device"?

1138


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2365


How does placing some code lines between the comment symbol help in debugging the code?

964


Where is c used?

1054


I came across some code that puts a (void) cast before each call to printf. Why?

1177


What is a void pointer? When is a void pointer used?

1038


What is the use of ?: Operator?

1105


What is wrong with this program statement? void = 10;

1227


FILE PROGRAMMING

2199


Explain function?

1055