What will be the output of the following C++ code?
How to declare a wide character in the string literal?
What is the output of the following C program?
int main()
{
int x = 1;
if ("%d=hello", x);
}
What is runtime binding related to?
What would the time complexity to check if an undirected graph with V vertices and E edges is Bipartite or not given its adjacency matrix?
Which of the following are automatically added to every class in C++ if we do not write our own?
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 << arr;
return 0;
}
What is the standard C++ library?
Predict the output of the given C++ program:
// Assume that integers take 4 bytes.
#include <iostream>
using namespace std;
class Test
{
static int i;
int j;
};
int Test::i;
int main()
{
cout << sizeof(Test);
return 0;
}
What is virtual inheritance?