//givin me error *sptr was not declared enter code here void convertToUppercase(char *sptr); {
while(*sptr!=\'\\0\')