toupper Function
Syntax :
int toupper(int ch);
Example
#include <ctype.h>
#include <stdio.h>
void main() {
char b,ch='a';
b=toupper(ch);
printf("uppercase is: %c",b);
}
Output
int toupper(int ch);
#include <ctype.h>
#include <stdio.h>
void main() {
char b,ch='a';
b=toupper(ch);
printf("uppercase is: %c",b);
}