#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
What are header files and explain what are its uses in c programming?
What is the significance of an algorithm to C programming?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
Where does the name "C" come from, anyway?
Why is main function so important?
Why we use void main in c?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
what is bit rate & baud rate? plz give wave forms
What is #define used for in c?
What are the loops in c?
code for replace tabs with equivalent number of blanks
What is the size of structure pointer in c?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.