Write a function which takes a c string as an input and


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.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a function which takes a c string as an input and
Reference No:- TGS0957060

Expected delivery within 24 Hours