You are not passing anything to you’re printf
call so it is printing garbage.
To fix you need to pass a
as a second argument to printf
.
#include <stdio.h>
int main (void)
{
int a;
a = 4;
printf("a = %d \n", a);
return 0;
}
CLICK HERE to find out more related problems solutions.