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 / azeem khan

Answer is 5

Is This Answer Correct ?    19 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is null defined in c?

1120


find the sum of two matrices and WAP for it.

1091


What is a spanning Tree?

1529


what is the basis for selection of arrays or pointers as data structure in a program

4268


What is sizeof array in c?

1003


What is null pointer in c?

962


Are pointers integers in c?

1040


What is a good way to implement complex numbers in c?

1020


With the help of using classes, write a program to add two numbers.

1002


how to capitalise first letter of each word in a given string?

1890


How can I read a binary data file properly?

1116


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

2297


What is the scope of local variable in c?

1070


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1283


Explain how can I read and write comma-delimited text?

1131