261 views
1 votes
1 votes
void my-toupper(char *str,int index)

{

*(str+index)&=~32;

}

main()

{

char *arr="gatequiz";

my-toupper(arr,0);

my-toupper(arr,5);

printf("%s",arr);

}

a)Gatesquiz

b)gatesquiz

c)compilerdependent

answer with explanation please

1 Answer

No related questions found