This must be written in C Programming, please! Thank you!
Write code to define a function as follows:
1. function is named counting
2. counting takes a pointer to a character, named y, and returns aninteger named x based on the following:
3. if the pointer y, is pointing to a terminator character, returnx, otherwise,
4. test if y is pointing to any of these characters: !@#$%^& Ifso then increment x and y
5. if the test is step 4 is not true, test if y is pointing to anydigits (0 to 9), if so, increment x and y
6. if the test if step 6 is
PayPal Gateway not configured
PayPal Gateway not configured