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

Void pointer in c

strrchr used to find the last location of char in c

Pointer to another pointer