Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
Data types in C are assigned at compile time so a variable can never have a choice of type. If you type cast the type away, you must store something telling you how to type cast the type back. The language treats all data the same so it will not help you.
7th Oct 2018, 2:28 PM
John Wells
John Wells - avatar