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
What are header files in c programming?
Why can't I perform arithmetic on a void* pointer?
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
What is the use of a static variable in c?
How can I generate floating-point random numbers?
What is the method to save data in stack data structure type?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
Is main an identifier in c?
What are types of preprocessor in c?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
What is the difference between ‘g’ and “g” in C?
What is memcpy() function?
Explain the use of function toupper() with and example code?
Why do we use int main?
How can a string be converted to a number?