Select the correct option to test your answer:
More Computer Questions
What will be the output of the following C code? #include <stdio.h> int main() { int x = 0; if (x++) printf("true\n"); else if (x == 1) printf("false\n"); }
What will be the output of the following C code? #include <stdio.h> void (*(f)())(int, float); typedef void (*(*x)())(int, float); void foo(int i, float f); int main() { x = f; x(); } void (*(f)())(int, float) { return foo; } void foo(int i, float f) { printf("%d %f\n", i, f); }
What is the result of compiling and running the following code? public class Tester{ static int x = 4; public Tester(){ System.out.print(this.x); // line 1 Tester(); } public static void Tester(){ // line 2 System.out.print(this.x); // line 3 } public static void main(String... args){ // line 4 new Tester(); } }
What is the mandatory preprocessor directive for c++?
Which header file is used to create the pseudo random generator?