#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 / poorna
Warning: Function Should have return value........
Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
Write a program to check palindrome number in c programming?
What is string constants?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
Write a program to swap two numbers without using the third variable?
what is the format specifier for printing a pointer value?
What is p in text message?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
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
how to write optimum code to divide a 50 digit number with a 25 digit number??
What is the purpose of main( ) in c language?
What is the difference between volatile and const volatile?
How do I get an accurate error status return from system on ms-dos?
What is formal argument?
What is a struct c#?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none