Home / C Programming / Input / Output :: Discussion

Discussion :: Input / Output

  1. What will be the output of the program ?

    #include 
    
     int main()
     {
        char *p;  
        p="%d\n";    
        p++;    
        p++;     
        printf(p-2, 23);    
        return 0;
     } 
    

  2. A.

    21

    B.

    23

    C.

    Error

    D.

    No output

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment