Explain what?s happening in the first constructor: public
class c{ public c(string a) : this() {;}; public c() {;} }
How is this construct useful?
Answer / vijaykumar
When constructor public c(string a) is called to construct
an object, it first calls the default constructor then the
initialisation procedures in public c(string a).
| Is This Answer Correct ? | 4 Yes | 0 No |
What will be the output of x++ + ++x?
Describe the steps to insert data into a singly linked list.
Are there any problems with performing mathematical operations on different variable types?
what will be the output of this program main() { int i=1; while (i<=10); { i++; } }
Is there sort function in c?
What is difference between array and structure in c?
What is a MAC Address?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors
how to add two numbers without using arithmetic operators?
How can I sort a linked list?
Example of friendly function in c++