#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 / anil

27

Is This Answer Correct ?    3 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there a way to jump out of a function or functions?

637


Which of these functions is safer to use : fgets(), gets()? Why?

636


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1122


What are global variables and explain how do you declare them?

581


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

3298






What is the difference between exit() and _exit() function?

607


Explain what are run-time errors?

611


Explain void pointer?

593


Define recursion in c.

703


What is struct node in c?

623


What do you understand by normalization of pointers?

628


How are structure passing and returning implemented?

593


How can you find out how much memory is available?

619


What is adt in c programming?

612


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

614