Answer Posted / achal
c++ is quite different from c. Here I add to above answer.
1. C++ has more rigid typecasing rules while c does not.
2. In C, structure copy is not permissible while most c++
compilers provide default copy constructors.
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Explain the purpose of the keyword volatile.
Can a Structure contain a Pointer to itself?
What is stream and its types in c++?
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
What is data type in c++?
Differences between private, protected and public and give examples.
What is the use of endl?
Is c# written in c++?
What's the order in which the objects in an array are destructed?
Explain how overloading takes place in c++?
Why pointer is used in c++?
Explain how we implement exception handling in c++?
How can we check whether the contents of two structure variables are same or not?
How const int *ourpointer differs from int const *ourpointer?
Explain about Virtual Function in C++?