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>
#define sqr(x) (x*x)
int main()
{
int x=2;
printf("value of x=%d",sqr(x+1));
}

What is the value of x?

Answer Posted / c harlee jain

Value of x will be 2

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does typeof return in c?

1159


What are pointers? What are different types of pointers?

1218


write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.

2141


How does selection sort work in c?

1095


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

4013


hi, which software companys will take,if d candidate's % is jst 55%?

2139


How can I write a function analogous to scanf?

1230


What are the valid places to have keyword “break”?

1144


How do you search data in a data file using random access method?

1356


Wt are the Buses in C Language

3262


What is a macro in c preprocessor?

1151


code for quick sort?

2080


What are the 4 types of functions?

1108


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2145


What does the format %10.2 mean when included in a printf statement?

1708