Is any direct function is available for the complement of the char variable
It's an operator, not a function. The operator is ~.
I think this is for the Bit variable what about the char variable
The answer is the same: ~.
How to take ones compliment of char variable
"I think this is for the Bit variable"
You are mistaken - see your 'C' textbook.
As already stated, this is a standard 'C' operator - Bit variables are a Keil extension.
You do have a 'C' textbook, don't you?
Why do you have this aversion to reading it?
http://www.keil.com/forum/docs/thread8910.asp
Once again, the answer is the same: ~.
View all questions in Keil forum