adplus-dvertising
frame-decoration

Question

The following code is an example of
double da = 4.5;
double db = 4.6;
double dc = 4.9;

//explicitly defined by user
int result = (int)da + (int)db + (int)dc; 

printf(""result = %d"", result);

a.

Implicit Type Conversion

b.

Explicit Type Conversion

c.

Error

d.

Can not Say

Posted under Functions C Programming

Answer: (b).Explicit Type Conversion

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The following code is an example of

Similar Questions

Discover Related MCQs

Q. In Implicit type conversion, If an operand of long int is present then the other operand will be converted to

Q. 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

Q. Which type of conversion is NOT accepted?

Q. The process in which a function calls itself directly or indirectly is called

Q. A function fun is called __________ if it calls the same function fun.

Q. Which of the following is not an example of recursion?

Q. When any function is called from main(), the memory is allocated to it on the stack.

Q. Iteration requires more system memory than recursion.

Q. When a recursive function is called in the absence of an exit condition, it results in an infinite loop due to which the stack keeps getting filled(stack overflow). This results in a run time error.

Q. The data structure used to implement recursive function calls _____________

Q. Which of the following is true about recursion?

Q. Choose correct statement about Functions in C Language.

Q. Choose a correct statement about C Language Functions.

Q. A function which calls itself is called a ___ function.

Q. How many values can a C Function return at a time?

Q. What are types of Functions in C Language.?

Q. Choose correct statements about C Language Pass By Value.

Q. What is the limit for number of functions in a C Program?

Q. Every C Program should contain which function?

Q. What is the minimum number of functions to be present in a C Program?