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 are header files in c?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
How can you tell whether a program was compiled using c versus c++?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
Write a program to swap two numbers without using a temporary variable?
explain what are pointers?
What is the difference between test design and test case design?
Explain argument and its types.
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
Do character constants represent numerical values?
How can I list all of the predefined identifiers?
What are header files and what are its uses in C programming?
What does return 1 means in c?
Write a c program to demonstrate character and string constants?
What is extern c used for?