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
Differentiate between null and void pointers.
Does c have function or method?
What is data type long in c?
Can a pointer be volatile in c?
What is boolean in c?
write an algorithm to display a square matrix.
What is a program flowchart and explain how does it help in writing a program?
How to explain the final year project as a fresher please answer with sample project
Discuss the function of conditional operator, size of operator and comma operator with examples.
What is function prototype in c language?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is oops c?
What is scope rule in c?
Which function in C can be used to append a string to another string?
Explain what is the stack?