Showing posts with label C Interview. Show all posts
Showing posts with label C Interview. Show all posts

C Language Interview Questions VOL-III

Q.1  Define Constructors?

Ans:  A constructor is a member function with the same name as its class. The constructor is invoked whenever an object of its associated class is created.It is called constructor because it constructs the values of data members of the class.

C Language Interview Questions VOL-II

 Q.1  In header files whether functions are declared or defined?

Ans:  Functions are declared within header file. That is function prototypes exist in a header file,not function bodies. They are defined in library (lib).

C Language Interview Questions VOL-I

Q.1  What is recursion?

Ans:  A recursion function is one which calls itself either directly or indirectly it must halt at a definite point to avoid infinite recursion.

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Hostgator Coupon Code