Where should type cast function not be used in C?

Short Answer
Views 854

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.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.