Home / C Programming / Input / Output :: Discussion

Discussion :: Input / Output

  1. Will the following program work?

     #include 
    
     int main()
     {     
          int n=5;  
          printf("n=%*d\n", n, n);     
          return 0;
     } 
    

     

  2. A.

    Yes

    B.

    No

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    It prints n=    5


Be The First To Comment