Programming MCQS - QUESTION DETAILS

What is the output of printf("%s", "Hello" + 1);?
A. Hello
B. ello
C. H
D. e

"Hello" + 1 points to the second character, resulting in "ello".

Similar Questions

What is the purpose of the 'rand' function in C?






What is the output of printf("%f", 10 / 3);?






What is the purpose of the 'strtok' function in C?






Which header file is needed for file input and output operations in C?






How do you declare a structure in C?






What is the purpose of the 'volatile' keyword in C?






How do you declare a global variable in C?






What is the purpose of the 'strchr' function in C?






How do you use the 'const' keyword with a pointer in C?






What does the 'exit()' function do in C?