2 2 votes The output of the following program is: int a=75; printf("%d%%",a); a) 75 b)75 % % c)75% d)none It is giving output as c) ...can anyone please explain why it is not giving output as b) Programming in C + – komal07 1.7k views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply ManojK commented Oct 12, 2016 i edited by Desert_Warrior Nov 1, 2016 reply Follow flag Whenever printf sees a %, it expects it to be followed by a character telling it what to do next. The two-character sequence %% is defined to print a single %. You can check. printf("%%"); So it will print only one % character. That's why your program is giving c as ouput. 3 3 replyShare Prashant. commented Oct 12, 2016 reply Follow flag same like byte stuffing ,, flag flag here flag is present as data. 1 1 replyShare Please log in or register to add a comment.