This C program will convert given uppercase letters into lover case.
#include<stdio.h> #include<string.h> int main() { char str1[10]="ABCD"; int i; for(i=0; i<4; i++) { printf("%c",str1[i]+32); } return 0; }
Output of the program:
abcd
This blog assists in mastering C and C++ programming skills from basics to advanced levels.
This C program will convert given uppercase letters into lover case.
#include<stdio.h> #include<string.h> int main() { char str1[10]="ABCD"; int i; for(i=0; i<4; i++) { printf("%c",str1[i]+32); } return 0; }
Output of the program:
abcd
No comments:
Post a Comment