Subjectwise MCQ
Statewise Prepration
Govt. Examwise MCQ
10445+ MCQ Questions in english हिन्दी
Which of the following function is used to unset a variable in PHP?
What keyword does C++ use to define macros?
What will the following C++ programme produce?
#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 tag does a webpage utilise to render an image?
The img tag is used to display an image on a webpage.
What will the following C++ code snippet produce?
#include
#include
using namespace std;
int main ()
{
int array[] = {0, 2, 4, 6, 7, 5, 3};
int n, result = 0;
for (n = 0; n < 8; n++)
{
result += array[n];
}
cout << result;
return 0;
}
What is the HTML definition of a quotation?
The <blockquote> tag is used to define a section that is quoted from another source.
What advantages do input and output in C++ have over those in C?
Which of the following properties is used to change the font of text?
The font-family property is used to change text font in HTML
What will the following C++ code produce?
#include
using namespace std;
int main ()
{
int a, b, c;
a = 2;
b = 7;
c = (a > b) ? a : b;
cout << c;
return 0;
}
How do classes and structures differ in C++?
In what HTML element are description data defined?
Description data is defined by <dd> tag.
For variable list arguments in C, the typical header ______ is utilised.
Which of the subsequent functions does PHP employ to set cookies?
What is the appropriate syntax to use when utilizing the HTML style attribute?
The correct syntax for the style attribute is shown in Option A.
Which notion in C++ enables the reuse of previously created code?
Does the OS environment open files and provide pointers for files when a C programme is launched?
Which of the following operators is used to determine whether or not a particular property exists?
Which of the following function displays the information about PHP and its configuration?
Which of the following cannot be accomplished statically in C?
25. Which of these keywords is used to check for exceptions in the block?
What will the upcoming C++ program's output be?
#include
using namespace std;
int main()
{
try
{
try
{
throw 20;
}
catch (int n)
{
cout << "Inner Catch\n";
throw;
}
}
catch (int x)
{
cout << "Outer Catch\n";
}
return 0;
}
MS Word filr extension is___
What does stdio.h> #include mean?
What is the function of the HTML style attribute?
The HTML style attribute is used to add styles like font, color, and size to an HTML element.
24. Which of the following statements about Thread is untrue?
Which of the following selections serves as the literal hexadecimal start?
What is the name of the C property that enables the creation of several executables for various platforms?
Which MS Word edition is this not?