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

5
Bcz 2+1*2+1=5

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of 2d in c?

1085


What is a global variable in c?

977


What is an auto variable in c?

1188


What is extern keyword in c?

1103


Define and explain about ! Operator?

974


Explain Basic concepts of C language?

1110


Why is c used in embedded systems?

1089


Explain what are global variables and explain how do you declare them?

1119


What is #pragma statements?

1070


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

5177


What is a header file?

1052


How can I get the current date or time of day in a c program?

1195


Do pointers store the address of value or the actual value of a variable?

1045


How can I remove the trailing spaces from a string?

1046


How can I trap or ignore keyboard interrupts like control-c?

1039