Printing single character from a string
I have a program where the user can enter a string of up to 100 chars which is stored in a variable
I want to print on the screen and first char of the string. So something like:
printf("Please enter your data:\n");
This always gives me errors - what am I doing wrong - I think I am using the wrong variable type? However I want the input to accept many characters
Any assistance greatly appreciated!