'a'+2 is 'c'
??
'a'+2 is 'c'
??
So what's the question? Let's try?
Code:#include<stdio.h> int main(int argc, char **argv) { printf("%c = %c", 'a'+2, 'c'); return 0; }
Operating Systems:
- Ubuntu 9.04
- XP
Compiler: gcc
Characters are just numbers represented differently. Do a google search for "ascii table"