Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/24/04 09:07
Read: times


 
#73093 - calling unsigned char
Hi All

Can somebody tell me if it is possible that you can declare an unsigned char in one part of your C program, store a hex value in it and than call that same char in a different part of your program with that same stored hex value in it?

For example

void main(void)
{ unsigned char x;

x = 0x31;
}

void dosomething(void)
{ unsigned char y;

y = x;
}

Regards,
KR


List of 5 messages in thread
TopicAuthorDate
calling unsigned char            01/01/70 00:00      
   RE: calling unsigned char            01/01/70 00:00      
      RE: calling unsigned char            01/01/70 00:00      
   read this thread            01/01/70 00:00      
   Mr Pedantic            01/01/70 00:00      

Back to Subject List