Subjectwise MCQ
Statewise Prepration
Andaman NicobarAndhra PradeshArunchal PradeshAssamBiharChandigarhChhatisgarhDadra & Nagar Haveli and Daman & DiuDelhiGoaGujaratHaryanaHimachal PradeshJammu & KashmirJharkhandKarnatkaKeralaLaddakhLakshadweepMadhya PradeshMaharashtraManipurMeghalayaMizoramNagalandOdishaPondicherryPunjabRajasthanSikkimTamil NaduTelanganaTripuraUttar PradeshUttarakhandWest Bengal
Govt. Examwise MCQ
10445+ MCQ Questions in english हिन्दी
What PHP function is employed to retrieve the most recent Unix timestamp with microsecond precision?
The current time in seconds since the Unix Epoch (January 1, 1970 00:00:00 GMT) is obtained using this PHP function?
What distinguishes PHP's include and require statements?
What does the PHP "include" statement look like?
What does the "require" statement in PHP look like?
To open a file, which PHP function is used?
Which PHP function is employed in the closing of a file?
What PHP function is used to read a file's content?
What function in PHP reads a single line from a file?
What PHP function reads one character at a time from a file?
What are the advantages of using C++ input and output over C input and output?
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 structures and classes vary in C++?
What would 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;
}
Which concept in C++ allows you to reuse previously written code?
What will the following C++ programme produce?
#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;
}
Using Perl, the DBI API is
Which of the following constructors are provided by the C++ compiler if they are not defined in a class?
For how many of the following do interfaces exist for implementing direct native client-server protocol? Java, PHP, Ruby
What exactly is an abstract class in C++?
How many of these languages support MySQL's C API through interfaces? Perl, PHP, Python
What will the C++ programme below produce?
#include
using namespace std;
int main()
{
int n = 5;
void *p = &n;
int *pi = static_cast(p);
cout << *pi << endl;
return 0;
}
What will the result of the following C++ application be?
#include
#include
using namespace std;
int main ()
{
std::string str ("Sanfoundry.");
str.back() = '!';
std::cout << str << endl;
return 0;
}
Which command in the Mysql command line tool is used to display the current date and time?
What exactly is a polymorphism in C++?
Which kind of authentication are necessary to access the MySQL command-line tool?
What will the following C++ code produce?
#include
using namespace std;
void square (int *x, int *y)
{
*x = (*x) * --(*y);
}
int main ( )
{
int number = 30;
square(&number, &number);
cout << number;
return 0;
}
Latest Jobs
IBPS SO Recruitment 2025-Apply Online For 1007 P ...
Last Date: Jul 21
Guwahati High Court JAA Recruitment 2025-Apply O ...
Last Date: Jul 31
BHEL Recruitment 2025
Last Date: Aug 12
MPESB Recruitment 2025
Last Date: Aug 06
DRDO Recruitment 2025
Last Date: Jul 26