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

i tried in pc the ans is 5

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to print factorial of given number using recursion?

1009


Write a program to use switch statement.

1129


What is %lu in c?

1254


Why malloc is faster than calloc?

1062


What is scope rule of function in c?

1091


What functions are used in dynamic memory allocation in c?

1077


List the variables are used for writing doubly linked list program.

2030


What is a pointer in c?

1554


Which is better oop or procedural?

1057


How can I do graphics in c?

1030


What are identifiers c?

1078


Can you please explain the difference between strcpy() and memcpy() function?

1067


Is fortran still used in 2018?

1038


What is cohesion and coupling in c?

1031


What does the function toupper() do?

1123