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 / bheemakarna1989
example
input : 4554
output : 1
input :567
output : 1
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain how do you override a defined macro?
Describe wild pointers in c?
What is structure data type in c?
Write the syntax and purpose of a switch statement in C.
What is malloc() function?
Explain how does free() know explain how much memory to release?
How can a number be converted to a string?
Explain what will the preprocessor do for a program?
Differentiate between static and dynamic modeling.
Where are local variables stored in c?
What is the purpose of clrscr () printf () and getch ()?
What is union and structure?
What do you understand by friend-functions? How are they used?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What are the advantages of using macro in c language?