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 are called c variables?
Is python a c language?
What is a macro in c preprocessor?
Hi can anyone tell what is a start up code?
How do I read the arrow keys? What about function keys?
What are the two forms of #include directive?
How do you determine whether to use a stream function or a low-level function?
Explain what are its uses in c programming?
Is int a keyword in c?
Define VARIABLE?
How can I ensure that integer arithmetic doesnt overflow?
Explain that why C is procedural?
Is sizeof a keyword in c?
Explain zero based addressing.
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream