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

Is there a way to compare two structure variables?

1111


How can I handle floating-point exceptions gracefully?

1169


How can you check to see whether a symbol is defined?

1098


What is the difference between single charater constant and string constant?

1083


Write a program to check whether a number is prime or not using c?

1054


Explain what is the difference between functions getch() and getche()?

1049


Do you know the difference between malloc() and calloc() function?

1055


How many types of operator or there in c?

1089


What is the use of typedef in c?

1029


write a progrmm in c language take user interface generate table using for loop?

2045


What is a constant?

1056


What is character set?

1166


What is nested structure in c?

1058


Wt are the Buses in C Language

3213


What is a global variable in c?

1003