Question: Write a C++ function that takes an array of characters terminating by NULL character (C-string). It will go through the array and return whether it
Write a C++ function that takes an array of characters terminating by NULL character (C-string). It will go through the array and return whether it is an acceptable variable name or not. It is okay if it does not start with a digit, it only contains alphabet (uppercase or lowercase) or digit and as well, it also returns the number of uppercase and lowercase in that C-string.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
