I am using Vsc to write my program in C, the program should return an error but nothing is shown, only the final code is provided (code = 3221225477), how can I get the error displayed?
The final output is: [Done] exited with code=3221225477 in 0.569 seconds
#include <stdio.h>
#include <stdlib.h>
int main(){
char x = 'a';
printf("%s", x); //Error cause i'm using %s for a char
}
P.s. I have already installed .Run and the C / C ++ extension