0 votes 0 votes Question No. 13 / Question ID 974071 Marks: 4.00 The output of the following $\mathrm{C}$ code is void main() \{ printf("\%d", printf("hello")); \} 1. hello5 2. hello 3. compilation error 4. "hello" 1 2 3 4 (Chosen Option) Others nta-phd-cs-2023 + – admin asked Dec 2, 2023 admin 102 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Ans will be option 1 because printf statement returns the number of charcters in it . so here inner printf will print hello and will return 5 because of length of hello. ꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂ answered Dec 17, 2023 ꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂ comment Share Follow See all 0 reply Please log in or register to add a comment.