Program: Write a function which takes a C string as an input and counts the number of non-alphabetic characters in the C string. Non-alphabetic characters include anything outside the ranges 'a' thru 'z' and 'A' thru 'Z'.
Do not count the null terminator.
You are not allowed to use any other functions to do this. Do not prepare a main function.
Your function does not do any cin or cout. Remember, C strings are terminated with the '\0' character. Ensure to properly format all your code. Please do proper documentation of code.