1.

 #include  void my_toUpper(char* str, int index) { *(str + index) &= ~32; } int main() { char* arr = "geeksquiz"; my_toUpper(arr, 0); my_toUpper(arr, 5); printf("%s", arr); return 0; } 

A. GeeksQuiz
B. geeksquiz
C. Compiler dependent
Answer» D.


Discussion

No Comment Found

Related MCQs