📚 Practice Mode

Java and C Programming Quiz

Learn at your own pace with hints and detailed explanations

1 / 7
Multiple Choice

char* riteshFunc (char *ptr) { ptr += 3; return (ptr); } int main() { char *x, *y; x = "HELLO"; y = riteshFunc(x); printf ("y = %s \n", y); return 0; } What will print when the sample code above is executed?

  1. HELLO
  2. ELLO
  3. LLO
  4. LO