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 does the file stdio.h contain?

1074


What is data structure in c language?

1120


What is the difference between null pointer and wild pointer?

1205


Is a house a mass structure?

1103


how to write a c program to print list of fruits in alpabetical order?

2306


What is hash table in c?

1030


Can true be a variable name in c?

1053


How are structure passing and returning implemented?

1052


How do you override a defined macro?

1276


what is the difference between class and unio?

2374


any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

1145


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2455


Explain what standard functions are available to manipulate strings?

1088


Is swift based on c?

1113


code for replace tabs with equivalent number of blanks

2170