#include<ctype.h>
main()
{
int lower,upper;
lower = getchar();
upper = toupper(lower);
putchar(upper);
}
Questions:
1.) What is the difference between getchar() and putchar() ?
2.) Can getchar() have arguments? Justify the answer.
3.) What is the need for ctype.h header file?
No comments:
Post a Comment