Is c++ a difficult language?
No Answer is Posted For this Question
Be the First to Post Answer
class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4
Why do we need templates?
What do you mean by translation unit in c++?
Why c++ is better than c language?
Explain register storage specifier.
what is static function
int main() { int i ,a[i]; i = 0; a[i] = 10; cout<< a[i] << endl; return 0; } What will be output of this program?
Write a C++ Program to check whether a number is prime number or not?
What do nonglobal variables default to a) auto b) register c) static
Explain the term memory alignment?
What are the advantages of using friend classes?
Why would you make a destructor virtual?