#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 / c harlee jain
Value of x will be 2
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Differentiate between static and dynamic modeling.
What is the purpose of main() function?
What is define c?
Is main a keyword in c?
where are auto variables stored? What are the characteristics of an auto variable?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
What is a pointer in c plus plus?
show how link list can be used to repersent the following polynomial i) 5x+2
what is recursion in C
What is define directive?
Which is better oop or procedural?
Explain null pointer.
What does dm mean sexually?
Which header file is used for clrscr?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.