How many types of output stream classes are there in C++?
Choose the correctly formatted code
How to declare an operator function?
Which of the following accesses a variable in the structure pointed to by *b?
The _________ operator increments the value of its operand by one and then uses the value.
In which stage the following code
#include<stdio.h>
gets replaced by the contents of the file stdio.h
What is the output of the following C code?
enum colors
{
one,two,THREE;
}
main()
{
printf("%d..%d..%d",one,two,THREE);
return(1);
}
What is the output of the following code?
#include <stdio.h>
int main()
{
int a = 3;
if (a < 10)
printf("LESS");
if (a < 20)
printf("LESS");
if (a < 30)
printf("LESS");
return 0;
}
Consider the following statements.
S1. Kruskal’s algorithm might produce a non-minimal spanning tree.
S2. Kruskal’s algorithm can efficiently implemented using the disjoint-set data structure
While building an object of a derived class: