Hi, anurupr -
Quote:
Q: Is it possible to convert a variable from char * to unsigned char ?
A: Yes
|
Quote:
A char and a pointer are totally different.
Absolutely "Yes".
|
The fact is, in C/C++ you can convert just about anything to just about anything else. It's all "bits", and C gives you lots of power and flexibility.
The real question (the one everybody's asking you) is:
Quote:
Q: What exactly are you trying to do?
|
Not *how*, but *what*? What, conceptually, is your GOAL?
We need to know the "context" of your question.
Thank you in advance .. PSM