#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 / vijaya
5
| Is This Answer Correct ? | 34 Yes | 12 No |
Post New Answer View All Answers
What are the three constants used in c?
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.
Explain the difference between strcpy() and memcpy() function?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
What is the most efficient way to store flag values?
What is function and its example?
code for replace tabs with equivalent number of blanks
Is it better to bitshift a value than to multiply by 2?
Dont ansi function prototypes render lint obsolete?
What is header file in c?
how to create duplicate link list using C???
What is the function of this pointer?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
What is a method in c?
What are the different types of linkage exist in c?