C interview questions – page 19
2,130 questions. Tap “Show answer” to check yourself.
-
Under which conditions the default assignment operator is not generated by the compiler for your class? (assuming that you do not declare the assignment operator yourself)
-
C++ (What are virtual functions) what happened if I do Base *d = new Derived(); and Derived *d = new Base(); is it error(in which statement) or not if yes what type of error?
-
Example of Polymorphism
-
Explain how a pointer to function can be declared in C++?
-
What is unary operator? List out the different operatorsinvolved in the unary operator.
-
What is the point of making global static functions
-
Dasda a a da as dasd as das as sd as d as a dasd
-
Basics of c
-
A positive integer entered through the keyboard. Write a function to obtain the prime factors of this number.For example : prime factors of 24 are 2,2,2 and 3,null, where as prime factor of 35 are 5
-
. For the following C program#define AREA(x)(3.14*x*x)main(){float r1=6.25,r2=2.5,a;a=AREA(r1);printf(" Area of the circle is %f", a);a=AREA(r2);printf(" Area of the circle is %f", a);}What is the Output?
-
Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived object,. calling of that virtual method will result in which method being called?
-
How can I set the background in flash like camera?( black color that some times for a specific time your background becomes white)
- Advertisement
-
Where we use reference and where we use pointers ?Write their differences and advantages and disadvantages .
-
What is the name of c#.net compiler?
-
What is mean "Death of Diamod"?
-
Please tell me all about dos.h and all its functions? how are the functions od dos.h are used ?
-
Why we using in header file using system and more header file is in C# what is difference between and all header file ?
-
What is abstraction in c++?
-
What are the disadvantages of copy constructor??
-
How to use HASH TABLE,ARRAYLIST in c# explain with example?
-
What is the difference between composition and inheritance?
-
Can the structures contain the constructor?If yes, then how?
-
I was creating a program that has a 2 dimensional array with 25 elements.How can I display the highest row sum?lowest row sum?highest col sum?lowest row sum?
-
What is the main difference between delegate and an event in c#?
- Advertisement
-
How can we made digital calendar by using c++ class
-
HOW TO READ TEXT FILE AND READ IT INTO ANOTHER TEXT FILE?
-
How is memory allocated by new ?a) In a heap b) in a stack b) both a & b c) None of these.
-
What are the differences between c and c++.what are the advantages the are only in c++ but not in c
-
What is aggression and association?
-
What is the real-time example for abstract class and pure virtual function?