developer155
Programmer
I am trying to declare a char variable like this:
char varname = (char)32;
so basically I need number 32 to become varname of type char (I need to pass it to one string function, replace)
but after declaration when I walk through the code I notice that after declaration varname has value '', instead of '32'.
Am I not declaring it correctly?
thamks!!
char varname = (char)32;
so basically I need number 32 to become varname of type char (I need to pass it to one string function, replace)
but after declaration when I walk through the code I notice that after declaration varname has value '', instead of '32'.
Am I not declaring it correctly?
thamks!!