how to find that no is int or float?

Answer Posted / fakkad

incomplete solution.
why? what if no is "long int" or "double"?
in that case his solution will always print float.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which is conditional construct a) if statement b) switch statement c) while/for d) goto

862


Are the variables argc and argv are always local to main?

656


What is a keyword?

856


Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

1618


Can I initialize unions?

701






Do pointers need to be initialized?

653


Explain how can I prevent another program from modifying part of a file that I am modifying?

737


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

722


What is a stream water?

771


Differentiate between new and malloc(), delete and free() ?

780


Why dont c comments nest?

707


What does c value mean?

733


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

1741


Stimulate calculator using Switch-case-default statement for two numbers

2555


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

1721