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


Please Help Members By Posting Answers For Below Questions

Do string constants represent numerical values?

1156


What is the purpose of the preprocessor directive error?

939


What is the usage of the pointer in c?

849


What header files do I need in order to define the standard library functions I use?

771


What are disadvantages of C language.

884


Explain what are the standard predefined macros?

876


What is the difference between c &c++?

853


What is "Duff's Device"?

917


What are the differences between new and malloc in C?

828


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

844


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

1002


Do you have any idea how to compare array with pointer in c?

837


Is it possible to pass an entire structure to functions?

780


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.

1767


What is a ternary operator in c?

860