What is the full form of oop
What is the output of below program ?
int main()
{
int a = 10;
cout<<a++;
return 0;
}
class base
{
public:
base()
{
cout<<"BCon";
}
~base()
{
cout<<"BDest ";
}
};
class derived: public base
{
public:
derived()
{ cout<<"DCon ";
}
~derived()
{ cout<<"DDest ";
}
};
int main()
{
derived object;
return 0;
}
//What is the value of a in below program?
int main()
{
int a, b=20;
a = 90/b;
return 0;
}
Which operator has highest precedence ?
Which operator has highest precedence in * / % ?
How to access and edit data in data file handling using structures
What is output of below program?
int main()
{
const int a=10;
a++;
cout<<a;
return 0;
}
How many times CppBuzz.com is printed?
int main()
{
int i=0;
lbl:
cout<<"CppBuzz.com";
i++;
if(i<5)
{
goto lbl;
}
return 0;
}
Can we overload functions in C++ ?