Home / MCQ Bank / Computer
Computer Miscellaneous On Data Structures Difficulty: Medium

What is the GCD of 20 and 12 using Euclid's algorithm?

Select the correct option to test your answer:

More Computer Questions

Which method is used to check if a file is executable in Ruby? What will be the output of the following C++ code? #include <iostream> #include <string> using namespace std; int main () { string str="Steve Jobs founded the apple"; string str2 = str.substr (6, 4); unsigned pos = str.find("the"); string str3 = str.substr (pos); cout << str2 << ' ' << str3 << '\n'; return 0; } Which operator is used to find the size of a data type in C++? What happens if a pure virtual function is not implemented in a derived class in C++? What will be the output of the following C++ code? #include <iostream> #include <string> using namespace std; int main () { std::string str ("Example."); str.back() = '!'; std::cout << str << endl; return 0; }