Home / Questions / Where should type cast function not be used in C?
Explanatory Question

Where should type cast function not be used in C?

👁 929 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

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