Question: Assignment No. 1 Write a program to read a string of letters, digits or an underscore and determine whether it is an identifier in C++

Assignment No. 1 Write a program to read a string of letters, digits or an underscore and determine whether it is an identifier in C++ (Note: identifiers in C++ are string of letters, digits, and underscores. They must not begin with a digit. Sample 1/0 Enter a string: ab_23 Ab_23 is an identifier CONTINUE (y)? y Enter a string: top Gun top Gun is not an identifier CONTINUE[y)? n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
