#include <iostream>
using namespace std;
struct wow {
int x;
};
int main() {
wow a;
a.x = 22;
int c = a.x;
int *b = new int;
cout << c;
return 0;
}
option:
No output
0
22
-(11)
Will not compile
Explain the advantages of inheritance.
Name an advantage of array over linked list?
24 Answers GML, IBM, Software Solutions,
string is a class or data type in java?
What is oops?what is its use in software engineering?
why we call c++ is object oriented lanaguage
define oops with class and object
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)
The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?
write a program which best describes polymorphism in real world?
2 Answers CTS, Infosys, NexGen,
What is multiple inheritance? Give Example
Iam doing my project on instant messaging , if you any new ideas regarding this project ,please suggest it?