Home / MCQ Bank / Computer
Computer Computer Fundamental Miscellaneous Difficulty: Medium

What is object of UPS?

Select the correct option to test your answer:

More Computer Questions

Which network has connectivity range up to 10 meters? What is an intersection of a row and a column? What is the role of the Web.config file in an ASP.NET application? It is a sign or symbol that specifies, operator, and values that produce a result What will be the output of the following C++ code? #include <cstdlib> #include <iostream> using namespace std; class X { public: void* operator new(size_t sz) throw (const char*) { void* p = malloc(sz); if (p == 0) throw "malloc() failed"; return p; } void operator delete(void* p) { cout << "X :: operator delete(void*)" << endl; free(p); } }; class Y { int filler[100]; public: void operator delete(void* p, size_t sz) throw (const char*) { cout << "Freeing " << sz << " bytes" << endl; free(p); }; }; int main() { X* ptr = new X; delete ptr; Y* yptr = new Y; delete yptr; }