Which of the following is used to insert a new line in a C++ program?
To what kind of data structures can the non-modifying sequence algorithms be applied?
Which function is used to check whether a character is an alphabet or number?
short value1 = 3000;
short value2 = 1000;
short product = value1 * value2;
cout << product;
In C++, what is the sign of character data type by default?
Which of the following is a built-in example of functors in C++?
How many times will the word 'hello' be printed in the following code segment?
for(int i=0; i<5; i++)
cout<<"hello\n";
What is the output of the following C program?
int main()
{
signed char var;
for(var=0;var<=127;var++)
printf("%d\n",var);
}
What is the correct signature of the main function when using command-line arguments in C++?