Q:

WHERE SHOULD TYPE CAST FUNCTION NOT BE USED IN C?

belongs to collection: C INTERVIEW QUESTIONS AND ANSWERS

0

WHERE SHOULD TYPE CAST FUNCTION NOT BE USED IN C?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Type cast function should not be used in const and volatile declaration.

Because, constant value can’t be modified by the program once they are defined.

And, volatile variable values might keep on changing without any explicit assignment by the program as operating system will be modifying these values.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C INTERVIEW QUESTIONS AND ANSWERS

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
HOW MANY ARGUMENTS CAN BE PASSED TO A FUNCTION IN ... >>
<< WHAT IS THE DIFFERENCE BETWEEN AUTO VARIABLE AND S...