#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
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
Write a program to generate the Fibinocci Series
Explain which function in c can be used to append a string to another string?
In a switch statement, explain what will happen if a break statement is omitted?
What is wrong in this statement?
Is there a way to jump out of a function or functions?
What is a wrapper function in c?
What’s the special use of UNIONS?
Why should I prototype a function?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
using only #include
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
Explain what is a 'locale'?
What is #pragma statements?
can we have joblib in a proc ?