Which function in C can return the integer ordinal of a character?
Hello friends
I am a beginner of C programing, I want to know Which function in C can return the integer ordinal of a character? and which function in C can return a charater with ordinal i; 0<=i<256?
I know ord()and chr() in python can do this, but don't know which function in C?
Can anyone give any clue?
Best Regards.
|