Question:What would be printed on the standard output as a result of the following code snippet?
main()
{

        signed char i = 1;

        for (; i<=255; i++)

        printf ("%d ",i);

        return 0;

}
 

A Compilation Error 

B 1 2 3 ... 255 

C 1 2 3 . . . 127 

D 1 2 3 . . . 127 -128 -127 ... 0 1 2 3 . . . (infinite times) 

E None 

+ Answer
+ Report
Total Preview: 496

Copyright © 2024. Powered by Intellect Software Ltd