Question:What will be printed on the standard output as a result of the following code snippet?
void main()
{
    int i,j,k;
    i=4;
    j=30;
    k=0;
    k=j++/i++;
    ++k;
    printf("%d %d %d",i,j,k);
}
 

A 5 31 8 

B 5 31 7 

C 5 31 6 

D 4 30 7 

E None 

+ Answer
+ Report
Total Preview: 608

Copyright © 2024. Powered by Intellect Software Ltd