Home / MCQ Bank / Computer
Computer Miscellaneous Difficulty: Medium

Determine Output: void main() { char *p; p="%d\n"; p++; p++; printf(p-2, 300); }

Select the correct option to test your answer:

More Computer Questions

In C#, which keyword is used to define a method that can be overridden in derived classes? 'W'h'i'c'h' 'e'l'e'm'e'n't' 'i's' 'u's'e'd' 't'o' 's'h'o'w' 't'h'e' 't'e'x't' 's'l'o'w'l'y'?' The term GIGO is related to? In Python, what does the % operator do when used for string formatting? What will be the output of the following Java code? import java.util.*; class hashtable { public static void main(String args[]) { Hashtable obj = new Hashtable(); obj.put("A", new Integer(3)); obj.put("B", new Integer(2)); obj.put("C", new Integer(8)); obj.remove(new String("A")); System.out.print(obj); } }