S
sunil.reloaded
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???
For example,
int ver1;
main()
{
.........................
.................
}
...........
.....
fun()
{
............
If ( ver1 is an integer )
{
do .............
}
else
{
do .............
}
}
Thanx 4 any help on this in advance.
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???
For example,
int ver1;
main()
{
.........................
.................
}
...........
.....
fun()
{
............
If ( ver1 is an integer )
{
do .............
}
else
{
do .............
}
}
Thanx 4 any help on this in advance.