Subjectwise MCQ
Statewise Prepration
Andaman NicobarAndhra PradeshArunchal PradeshAssamBiharChandigarhChhatisgarhDadra & Nagar Haveli and Daman & DiuDelhiGoaGujaratHaryanaHimachal PradeshJammu & KashmirJharkhandKarnatkaKeralaLaddakhLakshadweepMadhya PradeshMaharashtraManipurMeghalayaMizoramNagalandOdishaPondicherryPunjabRajasthanSikkimTamil NaduTelanganaTripuraUttar PradeshUttarakhandWest Bengal
Govt. Examwise MCQ
2887+ MCQ Questions in english हिन्दी
What will the following C++ code snippet produce?
#include
using namespace std;
int operate (int a, int b)
{
return (a * b);
}
float operate (float a, float b)
{
return (a / b);
}
int main()
{
int x = 5, y = 2;
float n = 5.0, m = 2.0;
cout << operate(x, y) <<"\t";
cout << operate (n, m);
return 0;
}
How do classes and structures differ in C++?
What will the upcoming C++ program's output be?
#include
using namespace std;
class A{
public:
A(){
cout<<"Constructor called\n";
}
~A(){
cout<<"Destructor called\n";
}
};
int main(int argc, char const *argv[])
{
A *a = new A[5];
delete[] a;
return 0;
}
What will the following C++ programme produce?
#include
#include
using namespace std;
int main ()
{
string str ("Sanfoundry");
for (size_t i = 0; i < str.length();)
{
cout << str.at(i-1);
}
return 0;
}
Which of these operators is used to reference every external variable when capturing them all?
Which of these math libraries is used by C++ when manipulating vectors?
Which of these objects' data is loaded in the locale object?
Which of these functions is used to add a specific amount to the iterator?
Which of these values will be highlighted first in a heap?
The term _____ designates equipment that might be added to a computer system to enhance its functionality
Which of the following software applications would be the most appropriate for performing numerical and statistical calculations?
What kind of relationship does inheritance model?
A ........ is approximately one billion bytes
Markup tags tell the web browser
Which container is the best for keeping a collection of various distinct elements?
Verification of log-in name and password is for
Which header file do we employ for producing random numbers?
C, BASIC, COBOL, and Java are examples of ............language
We can apply RTTI to which of the class types?
The first computer was programmed using .......
To make the number pad act as a directional arrow, we press
What is the syntax for throwing an exception?
Which of the following is a popular programming language for developing multimedia webpages.
The function of BIOS is to
What handler do we use if we want to handle all the types of exceptions?
What does the term "polymorphism" mean?
The computer's processor consists of the following parts
What is used for dereferencing?
Latest Jobs
AIIMS Non Faculty Group A, B & C Recruitment 202 ...
Apr 13, 2024
High Court of Kerala Recruitment
Last Date: Apr 26
Recruitment In Staff Selection Commission
Last Date: Apr 18
Deputy Collector Recruitment In Tamil Nadu Publi ...
Last Date: Apr 27
Kurnool District Court Jobs Notification for the ...
Last Date: Apr 11