#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 / grbr
9
| Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
Why is c so popular?
How are 16- and 32-bit numbers stored?
What is keyword in c?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
What is the explanation for the dangling pointer in c?
Why is struct padding needed?
What is include directive in c?
a c code by using memory allocation for add ,multiply of sprase matrixes
Explain how can you avoid including a header more than once?
Explain which function in c can be used to append a string to another string?
What does the characters “r” and “w” mean when writing programs that will make use of files?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
Is main a keyword in c?
Is c programming hard?
What is typeof in c?