Where should type cast function not be used in C?

C Programming Language >   Function in C Language >   Predefined Functions  

Short Question

1062


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.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.