S
shanmugaster
Hi,
I have a string array which may contain 5 digit values or NULL or
just blank spaces. I should print the value of array as an integer.
that is it should print 0 when it encounters NULL and blank spaces.
when i used atoi, values greater than 32767 are converted into negative
values. can some one please help me in this regard.
sample values
55008
55009
NULL
55110
NULL
Thanking u in advance
Star
I have a string array which may contain 5 digit values or NULL or
just blank spaces. I should print the value of array as an integer.
that is it should print 0 when it encounters NULL and blank spaces.
when i used atoi, values greater than 32767 are converted into negative
values. can some one please help me in this regard.
sample values
55008
55009
NULL
55110
NULL
Thanking u in advance
Star