The following code throws the following error Compiler Error in "cout << num;" is
ambiguos. Find out the reason? *
#include<iostream>
using namespace std;
class studenti { ,
public:
char num;
class Student2 {
public:
int num; };
class student3: public studenti, public Student 2
{
public:
void disp() { cout << num; } };
int main(void) {
Student3 d;
d. disp();
return 0; }
Answers
Answered by
2
Answer:
The ozone layer is a thin part of the Earth's atmosphere that absorbs almost all of the sun's harmful ultraviolet light. "Ozone holes" are popular names for areas of damage to the ozone layer. This is inaccurate. Ozone layer damage is more like a really thin patch than a hole.
Similar questions