get any number as input except 1 and the output will be
1.without using operators,expressions,array,structure.don't
print 1 in printf statement
Answer Posted / karna
void main()
{
int n;
printf("%d",scanf("%d",n));
getch();
}
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is hashing in c language?
Is c is a high level language?
write a proram to reverse the string using switch case?
What is difference between array and pointer in c?
Explain a pre-processor and its advantages.
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
How reliable are floating-point comparisons?
Is array name a pointer?
What is a c token and types of c tokens?
Explain what is the difference between the expression '++a' and 'a++'?
Explain the advantages and disadvantages of macros.
What is static identifier?
What are structure members?
what is the height of tree if leaf node is at level 3. please explain
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.