Printf (4+"sololearn"); ... Explain | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Printf (4+"sololearn"); ... Explain

printf(4+"sololearn"); gives op - learn why? How?

7th Nov 2020, 9:35 AM
Roshit
Roshit - avatar
1 Answer
+ 3
Similar question. You can have a look at it: https://stackoverflow.com/questions/6511917/printf-abcd-printfabcd-1 It doesn't matter if add an int first or last the result will be same. same result: printf("sololearn"+4);
7th Nov 2020, 9:49 AM
The future is now thanks to science
The future is now thanks to science - avatar