Notice when you get compile errors (when gcc gives you an error)
vs. errors that crash the program (run-time errors)
vs. logical errors (compile and run fine but problem with your code)
How do the loops differ for copying an array
vs. a character array? For example, write a function
that copies an int array to another int array and
write a function that does it for a string (character) array.
(Note the different loop structure
that should be used, what the condition is to know when
to stop looping, other things that need to be done)
Write a function that takes a string as a parameter and returns the number
of alpha-numeric characters in the string.
Write a function that takes a string as a parameter and returns the number
of vowels in the string.
Write a function that takes a string as a parameter and REMOVES all
spaces in the string (returns nothing, function should modify the original
string passed to the function).
Write a function that takes a string as a parameter and returns the
number of sentences. Assume a sentence ends in either a period, ! or ?
Write a function that takes a string as a parameter and returns the
number of words in the string.
What is the result of
strcmp( "april", "April" )
How do you convert a character to upper case? (What is the function you
need to call, and what other header file do you need to import)
Show three different ways to initialize the variable name with "Cookie".
What's the difference between strcat and strcpy ?
If you know the string variable filename ends with .txt how can you
remove the extension from the string?
Using fgets, read in a character and 3 integers and store them in to appropriate
variables.
Write the code to print out the size of the string in a variable named title.
What happens if your string does not contain a null character in the array?
Convert the string variable score to an integer value using the function atoi
What is the function to call to determine whether a character is a digit or not?