Why can’t you call invariants() as the first line of your constructor?
What is the difference between #define debug 0 and #undef debug?
What C++ libraries are you proficient with?
write the code that display the format just like 1 2 1 3 2 1 4 3 2 1 5 4 3 2 1 6 5 4 3 2 1
How to write a program such that it will delete itself after exectution?
What are guid? Why does com need guids?
Can we specify variable field width in a scanf() format string? If possible how?
What is a stack? How it can be implemented?
Explain virtual functions in C++.
Design a program to input a date from user in the form day/month/year (e.g. 2/6/2000) and report whether it’s a valid date or not. The program should take account of leap years. You will need to know that a leap year is a year that is exactly divisible by 4, except that century years are only leap years if they are divisible by 400.
What is the output of the following program? Why?
What is compilation?
Is c++ a float?