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
how do you programme Carrier Sense Multiple Access
How can I determine whether a machines byte order is big-endian or little-endian?
Differentiate call by value and call by reference?
explain what is an endless loop?
Place the #include statement must be written in the program?
What math functions are available for integers? For floating point?
What is cohesion in c?
What is meant by 'bit masking'?
What is #line used for?
What is the purpose of scanf() and printf() functions?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Explain what standard functions are available to manipulate strings?
What is the value of c?
What is difference between union All statement and Union?
What is pointer to pointer in c language?