191k views
1 vote
What does the following program do: "Removes all non-alpha characters from the given input"?

A) Removes numeric characters only
B) Removes alphabetic characters only
C) Removes non-alphanumeric characters
D) Removes spaces and tabs

User ZooZ
by
8.1k points

1 Answer

4 votes

Final answer:

The given program removes all non-alpha characters from the input and does not remove numeric characters or spaces and tabs.

Step-by-step explanation:

The given program removes all non-alpha characters from the input. This means it removes any character that is not alphabetic (a-z or A-Z). It does not remove numeric characters (0-9) or spaces and tabs. So the correct answer is option C) Removes non-alphanumeric characters.

User Rsvay
by
8.1k points