Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
No Answer is Posted For this Question
Be the First to Post Answer
Write a C++ program that asks the user to choose a number between 1 and 1000. Then, your program should be able to guess the number by asking the user no more than 10 yes/no questions. Use a while loop in your program
What are the advantages of c++ over c?
What are the advantages of inheritance in c++?
How do we implement inheritance in c++?
What happens if an exception is throws from an object's constructor and from object's destructor?
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
Why c++ is so important?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.
How did c++ get its name?
Define upcasting.
Write a program to calculate the BMI of a person using the formula BMI = weight/height2.
Can inline functions have a recursion? Give the reason?