input/output

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trin12345
    New Member
    • Jun 2012
    • 2

    input/output

    Hi guys,
    while solving C aptitudes i came across this question
    int main()
    {
    printf("%%%%\n" );
    return 0;
    }
    ANS:%%
    I seriously dont understand how the answer is that.
    Can anyone make me understand?
    Thanks in advance
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    %% is the escape sequence to print %.

    Comment

    Working...