Answer Posted / srv
Using sizeof() operator.
if(sizeof(no)==2)
cout<<"no is int";
else
cout<<"float";
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What is a structure and why it is used?
What are the different file extensions involved when programming in C?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Explain the use of bit fieild.
what is the role you expect in software industry?
how to write optimum code to divide a 50 digit number with a 25 digit number??
What is a stream water?
hi any body pls give me company name interview conduct "c" language only
What are lookup tables in c?
What does %2f mean in c?
What is pointers in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is wild pointer in c with example?
Describe static function with its usage?
What are qualifiers in c?