+ 2
Structure Structure
This is a quiz question. Can someone explain how the answer is âSololearn9â. The quiz is below: struct xyz { char *n; int eos; }; struct xyz x = {âSololearnâ, 2018}: struct xyz y = x; printf(â%dâ, printf(â%sâ, y.n)); Thanks
1 RĂ©ponse
+ 3
Hello. printf() return the number of characters writed so printf(â%sâ, y.n) write the word "Sololearn" and the number of characters writed are passed as the argument for the printf("%d").
Have a nice day. đ