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 / santhi perumal

Answer is 2x+2. For Ex: if x is 2 result is 2(2)+2 = 6.

Is This Answer Correct ?    7 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there sort function in c?

1028


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

1119


What is the difference between procedural and declarative language?

1155


What is typedf?

1131


What is the modulus operator?

1221


How can type-insensitive macros be created?

1175


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1651


What are pointers? What are different types of pointers?

1156


What does sizeof return c?

1076


Explain what does a function declared as pascal do differently?

1306


What are # preprocessor operator in c?

1124


What are external variables in c?

1112


Are global variables static in c?

1178


Explain what is a static function?

1115


What is the best way to store flag values in a program?

1088