Java and C Programming Quiz
Casual Mode - Take your time!
1 / 7
Correct
0
Incorrect
0
Score
0%
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?
- HELLO
- ELLO
- LLO
- LO