[LCP]Printing a Variables Value..!!!

Greg Black gjb at gbch.net
Fri Jun 20 19:15:02 UTC 2003


On 2003-06-20, J.Mohamed Zahoor wrote:

>    Assume there a 3 variables in a program named aaa,bbb & ccc.
>    Assume that all are integers with values 10,20 & 30 resp.
>    Can any one write a program which gets as input the name of
>    any of these variable and prints the value of it.

See the comp.lang.c FAQ at:

    http://www.eskimo.com/~scs/C-faq/top.html

It will give you a hint about handling this.

And always read the FAQ before asking questions like this.

Greg



More information about the linuxCprogramming mailing list