New course! Every coder should learn Generative AI!
Try a free lesson0
how to capitalize first letter of words in an array in C
2 Answers
+ 1
thanks
0
Include <ctype.h> and use toupper() function to capitalize a letter. Watch out for spaces (word separator).
http://www.cplusplus.com/reference/cctype/