How many parameters are needed for minmax function?
Which operator is used to compare the elements in a heap?
How to write multi line comments in CPP ?
In C/CPP Programming which function is not related to file handling
When are destructors called?
Which of the following statement creates infinite loop?
Which of the following type of class allows only one object of it to be created?
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int x = 2;
x = x << 1;
printf("%d\n", x);
}
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
int arr[] = {4, 5, 6, 7};
int *p = (arr + 1);
cout << *p;
return 0;
}
Assume that the variables a, b, and c are initialized before read.
uint8_t a, b, c;
/* ... */
uint8_t x = (a + b) / c;
uint8_t y = a + b;
uint8_t z = y / c;
The values for the variables x and z