How to convert Character from lowercase to uppercase in C Programming

preview_player
Показать описание
This video will show you how to convert character from lowercase to uppercase in C programming. visit the link below to get the source code.
Рекомендации по теме
Комментарии
Автор

Also I just tested this out, but this will also work.

char a = 'a';
char A = toupper(a);

A will now hold 'A'

arshbot
Автор

just subtract 32 from lower .. and add 32 from upper ..

nobbyzz
Автор

what if we're going to input a word then only the first letter should be in uppercase?

cristelronquillo
Автор

People who wrote ASCII where brilliant. Try and not 32d for every letter. Try or 32d also. An lastly try xor 32d.

javiermunoz