I tried a very simple code of C language using scanf
, and it falls into the infinite loop(or it looks like).
the code is the following:
#include <stdio.h>
int main(){
int input = 0;
scanf("%d", &input);
return 0;
}
I used the code runner extension. Here is the screenshot just in case. enter image description here
Does anyone know how to fix it?