Computer Science, asked by Ldass21, 4 days ago

Take a string and count the number of special symbol in string

Answers

Answered by anupamamonga
0

Answer:

5 symbols can be made with a string

Answered by mohamadadil682
1

Answer:

program to find the total number of alphabets, digits or special characters in a string – In this article, we will brief in on the multiple methods to find the total number of alphabets, digits or special characters is a string in C programming.

Suitable examples and sample programs have also been added so that you can understand the whole thing very clearly. The compiler has also been added with which you can execute it yourself.

The methods used in this piece are as follows:

Using Standard Method

Using Function

Using Recursion

Using Pointers and While Loop

A string is nothing but an array of characters. The value of a string is determined by the terminating character. Its value is considered to be 0.

C Program Number Of Alphabets, Digits & Special Character In String

Firstly, you need to enter a particular string of your own choice, as per the given example above.

The string that is entered here is as follows:

Similar questions