So I\'m new to C and am having trouble with whats happening with this warning. What does the warning mean and how can i fix it.
The code i wrote is here:
I'm assuming its complaining about the line scanf("%d\n", age); The issue is that scan f expects a pointer to your variable not the variable. You need to get an address to variable by perpending a '&` and you should be fine.