What is the C++ equivalent of the scanf() function?
How many C++ objects are typically used for input and output to a string?
Which of the following is an exit-controlled loop?
Copy constructors must receive their arguments by ________.
Which of the following is not a modifier function in the C++ string class?
#include <bits/stdc++.h>
using namespace std;
int main() {
int a=(1,2,3);
cout<<a;
return 0;
}
What is the purpose of the NULL macro?
What is the output of the following program?
int main()
{
int i;
for(i=0; i<5; i++)
{
printf("Hello");
}
return 0;
}
What happens if an iterator is used without proper checking?
How are the different permutations ordered in C++?