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 / amarnathreddy
i am going to write only logic
n=1000
n1=n-(n-1)
1000-999=1
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
What are runtime error?
What was noalias and what ever happened to it?
Is c dynamically typed?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
Which is best linux os?
Explain about the constants which help in debugging?
What is a floating point in c?
What are loops in c?
Is there a way to switch on strings?
What does typeof return in c?
using for loop sum 2 number of any 4 digit number in c language
What are the Advantages of using macro
What is floating point constants?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?