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
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Write a program to check palindrome number in c programming?
Explain what is the heap?
Here is a neat trick for checking whether two strings are equal
Why do we need arrays in c?
What is sizeof array?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
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
Describe dynamic data structure in c programming language?
Which is better oop or procedural?
What is property type c?
What is a union?
How would you obtain the current time and difference between two times?
Explain how do you view the path?
What is the method to save data in stack data structure type?