Re: how to get the data type of a veriable



sunil.reloaded@xxxxxxxxx wrote:
Consider that a variable is defined as int in the beginning of the
program.

Say, int ver1;

It is a very lengthy program hence i want to know the type of the
varable ver1 in the middle of the program(Assume in some function).

Can you tell me how do i get the type of the variable that was defined
previously???


Use your editor and look at the declaration. .