1 toupper ()
#include<stdio.h>
#include<ctype.h>
int main()
{
char ch;
char a;
ch=getchar();
a=toupper(ch);
printf("%c",a);
return 0;
}
2 tolower ()
#include<stdio.h>
#include<ctype.h>
int main()
{
char ch;
ch=getchar();
char a;
a=tolower(ch);
printf("%c",a);
return 0;
}
3 toascii ()
#include<stdio.h>
#include<ctype.h>
int main()
{
char ch;
ch=getchar();
int a;
a=toascii(ch);
printf("%d",a);
return 0;
}
No comments:
Post a Comment