#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
What is a static variable in c?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Explain do array subscripts always start with zero?
Difference between linking and loading?
What is your stream meaning?
What are 'near' and 'far' pointers?
What are called c variables?
how to find binary of number?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
What is typedf?
Why malloc is faster than calloc?
Why is a semicolon (;) put at the end of every program statement?
What is string in c language?
explain what are pointers?
The file stdio.h, what does it contain?