Interview questions
C interview questions – page 51
2,094 questions. Tap “Show answer” to check yourself.
-
What are constructors and destructors
-
How do you create multiple inheritance in C#?
-
What is Difference Between Inheritance and creating object and getting data? meansClass A extends B{B.getMethod();}(OR)Class A{b obj=new B();obj.getMethod();}
-
What is the difference between fork() & exec()
-
I created a class which is inherited from interfaceIDisposable. Now if I use object of this class with usingkeyword. Then How the dispose method will get call. Doesgarbage collector call it or some else.
-
Differences between Java and C++? which is faster?
-
? What is an intermediate language?
-
What are three tenets of object orinted Systems? Why they call like that ?
-
What is the renewal class?
-
What is a delegate? what it is used for?
-
Write a C/C++ program that connects to a MySQL server andchecks intrusion attempts every 5 minutes. If an intrusionattempt is detected beep the internal speaker to alert theadministrator. A high number of aborted connects to MySQL ata point in time may be used as a basis of an intrusion.
-
Can you overload a method of class A in Class B if it isderived class of A? If it is yes tell me how is it possible?
-
Can we create instance for Abstract class?
-
Write a program in c++ to implement stack using functions in header file stack.h
-
What are callback functions in c++
-
Trace the O/p for a program on inheritance and Polymorphism. 3 classes A,B,C A with two methods public virtual SomeMethodA public virtual SomemoreMethodA B:A overide SomeMethodA C:B new Method SomeMethodA override SomeMoreMethodA main method { b new instance of B b.SomeMethodA b.SomeMoreMethodA b1 new instance of C b1.SomeMethodA b1.SomeMoreMethodA }
-
Write pseudo code for push in a stack?
-
Pointers are support in C#? if yes then how to use it?
-
Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.
-
What is the Maximum Size that an Array can hold?
-
What is the main difference between c and c++?
-
What is the difference between value types and reference types?
-
What is the main differnce between const,readonly and static
-
What is Hashing and how is it done? Pictorial form?
-
Like int main (){Int i=65;Return printf(?%c?, i);}
-
WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION?PLEASE EXPLAIN IT.
-
Why c++ is called c++ and not c+?
-
What is difference b/w object based and object oriented programming language?
-
.4.Why an empty structure occupy 2 bytes memory?
-
Give the output of the following programmain(){char *p='a';int *i=100/*p;}what will be the value of *i= 1