#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 / bhagya
absolutely 5
Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
What extern c means?
What are the basic data types associated with c?
What are near, far and huge pointers?
Why can arithmetic operations not be performed on void pointers?
What are types of functions?
What is the purpose of main() function?
Explain setjmp()?
How can I get random integers in a certain range?
Are there constructors in c?
program for reversing a selected line word by word when multiple lines are given without using strrev
What are the application of void data type in c?
find out largest elemant of diagonalmatrix
Explain what is the difference between #include and #include 'file' ?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
How do you determine the length of a string value that was stored in a variable?