#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 / ndarvind
5
Bcz 2+1*2+1=5
Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
Explain how do you determine a file’s attributes?
Why do we use stdio h and conio h?
formula to convert 2500mmh2o into m3/hr
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is structure padding and packing in c?
Compare interpreters and compilers.
What is omp_num_threads?
How do you list files in a directory?
Explain how to reverse singly link list.
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
Write a program in c to replace any vowel in a string with z?
What is const volatile variable in c?
What is call by value in c?
What is c language & why it is used?