#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 / bhagya
absolutely 5
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
what is the format specifier for printing a pointer value?
Write program to remove duplicate in an array?
What are extern variables in c?
Can you think of a logic behind the game minesweeper.
What is function pointer c?
Differentiate between null and void pointers.
What math functions are available for integers? For floating point?
Is c is a high level language?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
What does *p++ do? What does it point to?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
What are linker error?
What are formal parameters?
What is the difference between %d and %i?
What are loops in c?