Home / C Programming / Typedef :: Discussion

Discussion :: Typedef

  1. What will be the output of the program?

      #include
      int main()
      {  
         typedef int LONG;   
         LONG a=4;    
         LONG b=68;   
         float c=0;     
         c=b;     
         b+=a;    
         printf("%d,", b);     
         printf("%f\n", c); 
         return 0; 
    } 
    

  2. A.

    72, 68.000000

    B.

    72.000000, 68

    C.

    68.000000, 72.000000

    D.

    68, 72.000000

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    No answer description available for this question.


Be The First To Comment