Which symbol is used to create a pure virtual function?
Which of the following is an abstract data type?
Consider the Boolean expression Y = A'.B'C' + A'.B'.C + A'.B.C + A'.B.C'. Minimize the expression.
Which of the following provides a programmer with the facility of using object of a class inside other classes?
What will be the output of the following C code?
What is the output of this C code?
int main()
{
int y = 0;
if (1 |(y = 1))
printf("y is %d\n", y);
else
printf("%d\n", y);
}
#include<stdio.h>
int main()
{
int i=4;
switch(i)
{
case 2+2:printf("Abekus");
break;
case 1+3:printf("learning");
break;
default:printf("Abekuslearning")
}
return 0;
}
Pattern matching in C refers to:
Which of the following is correct?
What will be the output of the following C++ code?
#include <iostream>
#include <set>
using namespace std;
int main()
{
set<int> tst;
tst.insert(12);
tst.insert(21);
tst.insert(32);
tst.insert(31);
set<int>::const_iterator pos;
for (pos = tst.begin(); pos != tst.end(); ++pos)
cout << *pos << ' ';
return 0;
}