This code runs, even produces the expected output. However, in the build log, I always get Process terminated with status 2 (0 minute(s), 5 second(s))
or some variation of this log.
Code -
#include<stdio.h>
#include<conio.h>
void main() {
printf("Please enter a character");
char ch = getch();
ch++;
printf("\n%c", ch);
}
Sample output (the input was 'a' without quotes)-
Please enter a character
b