The following code:
#include <stdio.h>
void main()
{
int num = 123;
printf("O valor de num = %d e o valor seguinte = %c", num, num+1);
}
Returns the following result in the Cloud9 terminal:
The value of num = 123 and the next value = |
Can anyone help me figure out what's going wrong? Why is it that in the terminal it does not assume the sum of the variable?
The Browser used is Chrome Version 34.0.1847.137 m