Home / MCQ Bank / Computer
Computer Miscellaneous Difficulty: Medium

Determine Output: void main() { int i=0; for(;i++;printf("%d", i)); printf("%d", i); }

Select the correct option to test your answer:

More Computer Questions

What is the time required for single variant hashing to maintain the minimum hash queue? The value of fillOpacity lies between . . . . . . . . . . . . . . . . class allows other programs to get incoming chunks fed to them over a socket by the collector. https: // in URL is . . . . . . . .? What will be the output of the following Java code snippet run as $ java Demo -length 512 -breadth 2 -h 3? class Demo { @Parameter(names={"--length"}) int length; @Parameter(names={"--breadth"}) int breadth; @Parameter(names={"--height","-h"}) int height; public static void main(String args[]) { Demo demo = new Demo(); new JCommander(demo, args); demo.run(); } public void run() { System.out.println(length+" "+ breadth+" "+height); } }