Home / MCQ Bank / Computer
Computer Standard Library Functions Difficulty: Medium

What is the purpose of the 'strcpy' function in C?

Select the correct option to test your answer:

More Computer Questions

Which is the correct syntax of declaring a virtual function? What is the significance of the Hadoop RecordReader in a MapReduce job? In Hive, what is the role of the LIMIT clause in a SELECT statement? What is the primary use of the dtplyr package in R? What will be the output of the following C++ code? #include <iostream> using namespace std; struct A { virtual ~A() { cout << "~A()" << endl; } void operator delete[](void* p, size_t) { cout << "A :: operator delete[]" << endl; delete [] p; } }; struct B : A { void operator delete[](void* p, size_t) { cout << "B :: operator delete[]" << endl; delete [] p; } }; int main() { A* bp = new B[3]; delete[] bp; };