Search This Blog

Translate

C Program to convert a uppercase char to lowercase using macro using ternary operator

C Program to convert a uppercase char to lowercase using  macro ,

C Program to convert a uppercase char to lowercase using  macro using ternary operator



#include
#include
#define UPLO(x) ((x>64&&x<91 ch-32="" character="" font="" is="%c" lowercase="" n="" nthe="" printf="" uppercase="" x="">
void main()
{
char ch;
clrscr();
printf("Enter the any alphabet=");
scanf("%c",&ch);
UPLO(ch);
getch();
}


C Program to convert a uppercase char to lowercase using  macro ,

C Program to convert a uppercase char to lowercase using  macro using ternary operator

C Program example List

Google+ Badge