Question: so it says that "the variable hgtInches is being used without being initialized. At the top I initialized it, "int hgtInches". What went wrong?



Code:
#include<stdio.h>

int main()

{

	char firstName;
	int hgtInches;
	float hgtFeet;

	hgtFeet=INCH_TO_FEET;

	printf("Please enter your first name:\n");
	scanf("%s", &firstName);
	fflush(stdin);

	printf("Please enter your height in inches:\n");
	scanf("%d", &hgtInches);

	printf("%s, you are %.2f\n", firstName, hgtFeet);

	return 0;

}