What is the default calling convention in C++?
Using the _______ statement is how you test for a specific condition.
What will be the output of the following C++ code?
Assuming an integer (int) is 4 bytes, what is the total size of an array int arr[14]?
What is the output of the following C program?
int main()
{
char name[20] = "World";
putchar(name[0]);
}
The following code is written to get the sum of all the even integer numbers between 1 to 10. Identify the error.
What are the mandatory parts in a function declaration?
What is the value of the variable amount after the following code is executed?
int amount = 100;
amount += amount * 2;
cout << amount << endl;
Which statement about string objects in C++ is correct?
What does this C++ template function indicate?
template<class T>
void func(T a)
{
std::cout << a;
}