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

How does pointer work in c?

1138


What does malloc () calloc () realloc () free () do?

1075


How can you increase the size of a dynamically allocated array?

1200


what is a function method?give example?

2380


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

2469


Explain what’s a signal? Explain what do I use signals for?

1174


Can a variable be both constant and volatile?

1137


a c code by using memory allocation for add ,multiply of sprase matrixes

2815


Lists the benefits of c programming language?

1148


What should malloc() do?

1184


Do string constants represent numerical values?

1415


Should a function contain a return statement if it does not return a value?

1097


How to implement a packet in C

2900


What does typedef struct mean?

1125


What are integer variable, floating-point variable and character variable?

1269