Description: programming languages Online Quiz - 84 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Pass by reference and Pass by address are same in C++.
which of the below statemen(s)is(are) true for malloc() & new functions?
What is singleton class?
int he below code, which declaration hold for copy constructor? class C{ int x; public: C(int t);//-----> (1) C(C t); //-----> (2) C(C& t); //-----> (3) C(C t, int k);// ------> (4) };
Which of the following statment(s) is(are) true for constructors & destructors
void func(){ double d; static int si; int i; }; where will be memory allocated for the variables?
Which of the following statement(s) is(are) correct?
How is dynamic binding achieved in C++?
What is abstract class?
Considereing int take 2 bytes of memory. What is size of memory allocated for ob in the below program.the size of memory allocated for object of class class my_class { int x; int y; public: void add(int k); void display(); }; my_class ob;
Which of the following is(are) true for Macro functions(#define fn()) & inline functions
Which one is faster in java ? A. Math.max(a,b); B. (a>b)?a:b
what is the output? class A{ int i=1; void printit() { i=i++; system.out.println(i);} } class AS { public static void main(String s[]) { A a=new A(); a.printit(); } }
Is following line throws Exception.If yes ,which type? justify it . float f = 100.00/0.0
What will be output from the following statements: System.out.println(1+2+”3”); System.out.println (“1”+2+3);
Is the following statement correct: char ch = 'd'; if(ch < 32.00){ }
Which is/are the method/s of an ADO.NET command object
Which is not the an ADO.NET object
Method used in LINQ to SQL for database updation
LINQ query to Select and return all the rows from Product table and display the product names.