#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


Please Help Members By Posting Answers For Below Questions

Can main () be called recursively?

630


Write a program to reverse a given number in c?

600


Explain the process of converting a Tree into a Binary Tree.

2106


What is the difference between printf and scanf )?

595


What is line in c preprocessor?

616






Explain why can’t constant values be used to define an array’s initial size?

856


What are the 32 keywords in c?

637


How many levels of pointers can you have?

705


What is pointer to pointer in c with example?

549


a program that can input number of records and can view it again the record

1486


Explain modulus operator.

597


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

707


can any one tel me wt is the question pattern for NIC exam

1558


What is output redirection?

693


What is sizeof array in c?

594