#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
How many header files are in c?
What's the total generic pointer type?
What does p mean in physics?
What is getch?
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.
Are the variables argc and argv are local to main?
Explain the red-black trees?
Why is c not oop?
What are identifiers in c?
If you know then define #pragma?
Why is %d used in c?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What is the purpose of void in c?
Can a file other than a .h file be included with #include?
Explain high-order bytes.