Home / MCQ Bank / Computer
Computer Databases Handling

Which one of the following statements instantiates the mysqli class?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • $mysqli = new mysqli()

Related Computer Questions

Who built the world's first electronic calculator using telephone relays, light bulbs and batteries? Which of the following cipher replaces letters with symbols? The variable that is a handle to a database object is ______ What will be the output of the following C++ code? #include <vector> #include <iostream> #include <typeinfo> #include <stdexcept> using namespace std; int main() { vector<int> vec; vec.push_back(10); int i = vec[100]; try { i = vec[0]; cout << i << endl; } catch (exception &e) { cout << "Caught: " << e.what( ) << endl; cout << "Type: " << typeid( e ).name( ) << endl; } catch (...) { cout << "Unknown exception: " << endl; } return 0; } What will be the output of the following C code? #include <stdio.h> int main() { while () printf("In while loop "); printf("After loop\n"); }