-3
I’m in need of some help.
want to print the value of an int variable decided by scanf, but when I compile and run the program it returns me the following value:
"type the value of A -->11
the entered value was: 6422300"
my code:
#include <stdio.h>
int main()
{
int a;
printf("digite o valor de A --->");
scanf("%d", &a);
printf("\n o valor digitado foi: %d", &a);
return 0;
}
thank you in advance