MCQOPTIONS
Bookmark
Saved Bookmarks
→
Technical MCQs
→
2D Transformation And Answers
→
The following code is an example of?
1.
The following code is an example of?
A.
Implicit Type Conversion
B.
Explicit Type Conversion
C.
Error
D.
Can not Say
Answer» C. Error
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
When do you need to use type-conversions?
In Implicit type conversion, If an operand of type long double is present in the expression, then the corresponding operand will also be converted to?
#include<stdio.h> int main() { double x = 1.2; int sum = (int)x + 1; printf(""sum = %d"", sum); return 0; } 6.In Implicit type conversion, If an operand of long int is present then the other operand will be converted to ?
#include<stdio.h> int main() { int x = 10; char y = 'a'; x = x + y; float z = x + 1.0; printf(""x = %d, z = %f"", x, z); return 0; } 5.What will be output for the following code?
double da = 4.5;double db = 4.6;double dc = 4.9;//explicitly defined by userint result = (int)da + (int)db + (int)dc; printf(""result = %d"", result);4.What will be output for the following code?
The following code is an example of?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies