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 is a node in c?

971


How can you invoke another program from within a C program?

1073


Write a program to print “hello world” without using semicolon?

1121


What is the stack in c?

1130


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2522


What are dangling pointers in c?

1221


Explain what is the advantage of a random access file?

1120


What is sizeof in c?

1002


What is n in c?

1032


what is bit rate & baud rate? plz give wave forms

1976


Describe the header file and its usage in c programming?

1066


Explain the difference between malloc() and calloc() in c?

1042


What are the advantages of Macro over function?

2003


What is size of union in c?

1019


What do mean by network ?

1160