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

What will be the output of
x++ + ++x?

Answer Posted / debashree

#include<stdio.h>
int main()
{
int x=1,y;
y=x++ + ++x;
printf("y=%d\n",y);
return 0;
}
o/p->
y=4

Is This Answer Correct ?    17 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is structure in c language?

1182


What is ctrl c called?

1054


Explain how do you convert strings to numbers in c?

1085


Difference between Function to pointer and pointer to function

1090


Tell me the use of bit field in c language?

1074


What is the data segment that is followed by c?

1095


Does free set pointer to null?

1016


What is the -> in c?

1023


What is the difference between malloc calloc and realloc in c?

1156


How can you increase the size of a statically allocated array?

1089


How can you convert integers to binary or hexadecimal?

1041


Explain the properties of union.

1092


What is structure in c explain with example?

1169


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

1184


The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

1241