How many parameters does a default constructor require?
Which of the following is an exit-controlled loop?
What is the standard file extension for user-defined header files in C++?
What are the different operations used in pseudo-random number generators?
In which order do the following gets evaluated
1. Relational
2. Arithmetic
3. Logical
4. Assignment
What data structure would you most likely see in a non-recursive implementation of a recursive algorithm?
What will be the output of the following C++ code?
Which of the following statement describes the below command
int *p1,p2; ?
#include<stdio.h>
int func(int a)
{
printf("%d",a);
return 0;
}
int main()
{
func;
return 0;
}
What will be the output of the following C++ code?
#include <iostream>
#include <cctype>
using namespace std;
int main(int argc, char const *argv[])
{
char arr[12] = "Hello World";
for(int i=0;i<12;i++)
{
cout << (bool)isalpha(arr[i]);
}
}