Computer Science, asked by areparvathidevi, 5 hours ago

#include <iostream>
using namespace std;
class F
{
};
class S : public F
{
};
template<typename X,typename Y>
class check
{
class F { };
static F find( ...);
class T { F f[2]; };
static T find(Y*);
public:
enum
{
m=sizeof(T)==
sizeof(find(static_cwst<X*>(0)))
};
};
template <class Q, class R>
bool checkIf( )
{
return check< Q, R>: :m;
}
int main( )
{
check <class F, class S> t (F,S);
cout <<checkIf<class F, class S>()<<end1;
return 0;
}​

Answers

Answered by chaitanyakasireddy29
0

Answer:

sorry I didn't know the answer

Answered by rathnamman269
0

sorry but I don't know this answer

Similar questions