input may any number except 1,output will always 1..
conditions only one variable should be declare,don't use
operators,expressions,array,structure
Answer Posted / santhosh r
#include<stdio.h>
main()
{int a;
printf("%d",scanf("%d",&a));
}
Is This Answer Correct ? | 9 Yes | 8 No |
Post New Answer View All Answers
Do string constants represent numerical values?
What is the purpose of the preprocessor directive error?
What is the usage of the pointer in c?
What header files do I need in order to define the standard library functions I use?
What are disadvantages of C language.
Explain what are the standard predefined macros?
What is the difference between c &c++?
What is "Duff's Device"?
What are the differences between new and malloc in C?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
Do you have any idea how to compare array with pointer in c?
Is it possible to pass an entire structure to functions?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is a ternary operator in c?