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 / guest

the x itself is 2 and the print out is 9

Is This Answer Correct ?    14 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is %d called in c?

1236


What is wrong with this declaration?

1109


What is the difference between break and continue?

1530


What is an example of structure?

1043


Explain what is the use of a semicolon (;) at the end of every program statement?

1229


Why do we use pointer to pointer in c?

1086


Explain what is the difference between far and near ?

1112


What is string in c language?

1161


What is the difference between null pointer and wild pointer?

1198


What are the three constants used in c?

996


What is sorting in c plus plus?

980


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2680


What is typedef struct in c?

1051


What are the features of the c language?

1088


What does volatile do?

981