Here is my code:
#include <stdio.h>
int main() {
    char op;
    int num1, num2;
    printf("Enter the operation(+,-,/,*,!,^) :  ");
    scanf(" %c", &op);
    switch (op) {
      case '+':
        printf("Enter the first operand : ");
        scanf(" %d", num1);
        printf("Enter the second operand : ");
        scanf(" %d", num2);  
        printf("%d", num1 + num2);
        break;
    }
}
when I run this. code stops after me entering first operand. I added space before scanf but it didn't solve the problem below.

 
     
     
     
    