hyaku
asked on
Substring in C ?
I want to do extract out the 1st character of the value.
char val_b = 1A;
char val_c = 3B
unsigned char b;
unsigned char c ;
The value 1 will be extracted from val_b and value 3 will be extracted from val_b.
My expected result should be b = 1, c = 3
How can i do it?
char val_b = 1A;
char val_c = 3B
unsigned char b;
unsigned char c ;
The value 1 will be extracted from val_b and value 3 will be extracted from val_b.
My expected result should be b = 1, c = 3
How can i do it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help again.
=)