#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
Can main () be called recursively?
Write a program to reverse a given number in c?
Explain the process of converting a Tree into a Binary Tree.
What is the difference between printf and scanf )?
What is line in c preprocessor?
Explain why can’t constant values be used to define an array’s initial size?
What are the 32 keywords in c?
How many levels of pointers can you have?
What is pointer to pointer in c with example?
a program that can input number of records and can view it again the record
Explain modulus operator.
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
can any one tel me wt is the question pattern for NIC exam
What is output redirection?
What is sizeof array in c?