Description: programming languages Online Quiz - 267 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
What will be the output of the following program : void main() { int x=4,y=3,z=2; &z=&x*&y; printf("%d",z); }
What will be the output of the following program : void main() { unsigned int val=5; printf("%u %u",val,val-11); }
What will be the output of the following program : #define swap(a,b) temp=a; a=b; b=temp; void main() { static int a=5,b=6,temp; if (a > b) swap(a,b); printf("a=%d b=%d",a,b); }
What will be the output of the following program : void main() { int i,j; for (i=1; i<=3; i++) for (j=1; j<3; j++) { if (i == j) continue; if ((j % 3) > 1) break; printf("%d",i); } }
What will be the output of the following program : void main() { int a=5; int b=6;; int c=a+b; printf("%d",c); }
What will be the output of the following program: void main() { float val=2.; printf("%.2",val); }
What will be the output of the following program : void main() { int a=1,b=2,c=3,d=4,e; e=(a,a)+(b,c)+(c,d)-(d,b); printf("%d", e); }
What will be the output of the following program : void main() { int a=1,b=2,c=3; c=(--a, b++)-c; printf("%d %d %d",a,b,c); }
he following code is not well-written. What does the program do? Void main() { int a=1, b=2, c=3,d=4; printf("%d %d", a, b); printf (" %d %d", c, d); }
EJB and Java beans can be run on many systems?
The default value of the boolean type is
A dead thread can be restarted by calling the start() method again on that object
If a method is declared as protected, where may the method be accessed?
Jdk1.4 also contain the tool interface that is JVMTI which is a profiling tool in jdk1.5
Is a skeleton created by RMI?
What is the difference between an object and an instance?
Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A's web application. In which object can the data that A shares with B be stored?
What does getSession(false) will do?
Which arithmetic operations can result in the throwing of anArithmeticException?
Which three are true about the HttpServletRequestWrapper class?