1.

Mention the use of isalpha() and toupper() character functions. 

Answer»

1.  isalpha(): Returns a non-zero value if the argument is a A-Z or a-z letters.

For example, isalpha(‘a’)

output: 1 means true isalpha(‘5’) output: 0 means false

2. toupper( ): It converts the lower case alphabet character to upper case. 

For example, toupper(‘a’)

output: A



Discussion

No Comment Found

Related InterviewSolutions