C program to remove alphabets from an alphanumeric string
Given a string and we have to remove it all alphabets using C program.
If string contains alphabets and numbers both (or anything with the alphabets), program to check the alphabets, if found then program will remove them from the string.
Example:
Input:
String is: "hello123"
Output:
Final string is: "123"
Input:
String is: "Call 100"
Output:
Final string is: "100"
Program to remove all alphabets from given alphanumeric string in C
Output
need an explanation for this answer? contact us directly to get an explanation for this answer