1 votes 1 votes The statement print f (" % d", 10 ? 0 ? 5 : 1 : 12); will print $10$ $0$ $12$ $1$ Programming and DS ugcnetcse-june2010-paper2 programming-in-c operators + – makhdoom ghaya asked Sep 15, 2016 • recategorized Oct 26, 2018 by Pooja Khatri makhdoom ghaya 1.8k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes printf (“%d”,10 ? (0? 5: 1 ): 12) Zero means false and non-zero means the true and innermost query is evaluated first. Option $(D)$ is correct. Ashwin_R answered Sep 15, 2016 • edited Jul 18, 2023 by Hira Thakur Ashwin_R comment Share Follow See 1 comment See all 1 1 comment reply Devshree Dubey commented Oct 28, 2017 reply Follow Share @Ashwin_R,how you have got the above answer?Upon which basis you've put the brackets?If possible please give the explanation of your answer. :) 0 votes 0 votes Please log in or register to add a comment.