Top

Discussion

#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: C

No answer description available for this question.
 

No comment is present. Be the first to comment.
Loading…

Post your comment