How compile and run c++ program in turbo c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between reference and pointer?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
Why is c++ still popular?
Differentiate between realloc() and free().
class Alpha { public: char data[10000]; Alpha(); ~Alpha(); }; class Beta { public: Beta() { n = 0; } void FillData(Alpha a); private: int n; }; How do you make the above sample code more efficient? a) If possible, make the constructor for Beta private to reduce the overhead of public constructors. b) Change the return type in FillData to int to negate the implicit return conversion from "int" to "void". c) Make the destructor for Alpha virtual. d) Make the constructor for Alpha virtual. e) Pass a const reference to Alpha in FillData
What are static variables?
What is the difference between while and do while loop? Explain with examples.
What is a literal in c++?
What is a .h file c++?
Who created c++?
When to use Multiple Inheritance?
What is the difference between global variables and static varables?