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

27

Is This Answer Correct ?    3 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2773


int i=10; printf("%d %d %d", i, i=20, i);

1614


Are there any problems with performing mathematical operations on different variable types?

1036


How can I find the modification date of a file?

1276


What is the use of linkage in c language?

1053


What are the __date__ and __time__ preprocessor commands?

1106


What are preprocessor directives in c?

1092


Lists the benefits of c programming language?

1131


When do we get logical errors?

1118


What is the use of volatile?

1081


Tell me with an example the self-referential structure?

1011


Can math operations be performed on a void pointer?

1041


How to write c functions that modify head pointer of a linked list?

981


What is call by reference in functions?

1433


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

1175