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 is a far pointer in c?

989


Are c and c++ the same?

1001


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15722


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

1018


What is c basic?

1120


Are pointers really faster than arrays?

963


Is array a primitive data type in c?

995


What are the Advantages of using macro

1111


What is the purpose of & in scanf?

1007


Explain what are binary trees?

1019


When should volatile modifier be used?

950


Why do some versions of toupper act strangely if given an upper-case letter?

1033


Is return a keyword in c?

1028


How can I direct output to the printer?

1270


How can I open a file so that other programs can update it at the same time?

1126