strupr and strlwr

 #include <stdio.h>

#include <string.h>

int main()

{ char c []= "rohit parmar12#\n";

strupr(c);

printf("%s", c);

char d [] = "VISHAL PARMAR";

strlwr(d);

printf("%s", d);

return 0;

}


Comments

Popular posts from this blog

Factors : using C

Cross shaped pattern

Factorial ! calculation