I've created an extremely simple code just to test Code::Blocks
, but no matter what I do, it always returns the following error:
collect2.exe: error: ld returned 1 exit status
I still do not understand what I'm missing. the code goes here:
#include <stdio.h>
#include <stdlib.h>
int main(){
int A;
printf("Digite um valor: ");
scanf("%d", &A);
printf("O valor digitado foi: ", &A);
return 0;
}