The output of following C language statement is:
printf("\nhello" + 3);
🎥 Video solution / Text Solution of this question is given below:
Solution:
String: "\nhello"
Character positions:
0:'\n' 1:'h' 2:'e' 3:'l' 4:'l' 5:'o'
→ "\nhello" + 3 points to index 3, i.e., `"llo"`
Hence it prints “llo”.