How can I store an actual word with a variable? My ideal would be as thus:
Code:int main () { //introduce variable whatvariable a; //make user input a word printf("Enter a word here:"); //store the word as a var scanf("%d", &whatvariable); //Print what user input printf("Your word was %d\n", a"); //return that ........ return 0; }
Sorry if this c code is horrible, I just started learning today