I'm a novice in C, and since C does some implict changing at times, I often get confused. I'm getting confused in what type
(like int,char
) does the operation(+,-
) returns. So in C, I want to know what type
a variable belongs to at any point in a program. That is in Java we call it as Reflection and we can get all the information of our programs at runtime.
Now in C is there any lib that does the similar job of Reflection API in java. Or there is any trick in C, that can be used to find what type does a particular variable belongs to?
Any idea? Thanks in advance.