2 votes 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) komal07 asked Oct 12, 2016 komal07 1.3k views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply ManojK commented Oct 12, 2016 i edited by Desert_Warrior Nov 1, 2016 reply Follow Share 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 votes 3 votes Prashant. commented Oct 12, 2016 reply Follow Share same like byte stuffing ,, flag flag here flag is present as data. 1 votes 1 votes Please log in or register to add a comment.