0
Pleade Explain output of this code int main() { cout <<1+"hello"; return 0; }
C++
2 Réponses
+ 2
It is similar to a problem in C.
printf (6+"hello world");
It will print world because we have specified the index before. I mean that everything from 6th index will be printed.
Similarly in your case "ello" will be printed because the index specified is 1.
+ 2
Thanks bro u r great