The World of Computer Programming Language
1 2 3 4 5 6 7 8 9 10 11
#include <stdio.h> #include <conio.h> void main (void) { char ch1, ch2, sum; ch1 = '5' ; ch2 = '9' ; sum = ch1 + ch2; printf("Sum = %d", sum); getch(); }// main
Sum = 109
No comments:
Post a Comment