Home / C Programming / Control Instructions :: Discussion

Discussion :: Control Instructions

  1. What will be the output of the program?

    #include 
     int main()
     {    
           char j=1;  
           while(j 5)   
           {        
                printf("%d, ", j);     
                j = j+1;     
            }  
             printf("\n");   
             return 0;
       } 
    

  2. A.

    1 2 3 ... 127

    B.

    1 2 3 ... 255

    C.

    1 2 3 ... 127 128 0 1 2 3 ... infinite times

    D.

    1, 2, 3, 4

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment