#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 / vijaya
5
| Is This Answer Correct ? | 34 Yes | 12 No |
Post New Answer View All Answers
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
Explain how do you determine whether to use a stream function or a low-level function?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What does s c mean in text?
What is the scope of static variable in c?
What is break in c?
Explain what are the different data types in c?
what is the height of tree if leaf node is at level 3. please explain
What are the uses of null pointers?
What does sizeof function do?
What are identifiers c?
What is the difference between a string and an array?
Differentiate Source Codes from Object Codes
Explain how can I make sure that my program is the only one accessing a file?
What is a c token and types of c tokens?