cout << (11%7) % 2;
What is used to write multi line comment in c++?
How are sequences of objects accessed in C++?
Which of the following is not a type of constructor?
When both user and default values are given, which value will be used?
Which of the following parameter passing mechanism is/are supported by C++ but not in C?
Which of the following is the correct syntax to create a heap from a vector v?
#include<stdio.h>
int main()
{
char c[2][2][5]={'A','b','e','k','u','s'};
printf("%s", **c);
return 0;
}
What will happen in the following C++ code snippet?
int a = 100, b = 200;
int *p = &a, *q = &b;
p = q;
#include <iostream>
using namespace std;
template <class T, int N>
T fixed_multiply (T val)
{
return val * N;
}
int main() {
std::cout << fixed_multiply<int,2>(10) << '\n';
std::cout << fixed_multiply<int,3>(10) << '\n';
}
OnSite
1 Openings
FullTime
Posted 17 days ago