
Patrick B. answered 03/19/20
Math and computer tutor/teacher
#include <stdio.h>
int main()
{
int a = -1;
int b = a * 5;
printf("a is %d, and b is %d.\n", a, b); // a is -1 and b is -5
int x = -1;
int y = 3;
x= x + y; // x=2 <--- COMPILE ERROR HERE... you have capital Y; we fixed it
printf("x - y is %d.\n", x - y); // x - y is -1 because 2-3 = -1
}