Which of the following shows multiple inheritance?
#include
#include
If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?
Which linkage is used to refer to program elements in any translation units?
A programming language that has the capability to generate new data types is called ________________
What is the output of the following program?
void main()
{
int i=0, j=5;
char *x="CYBER",*y="REBYC";
while(printf("OK ! IT IS %d", !(i[x]+1==-j[y]))*0);
}
#include <stdio.h>
int main()
{
int a = 50;
int b = 70;
if (b > a)
{
printf("Hello");
}
else
{
a++;
printf("World");
}
return 0;
}
What does the following C declaration mean?
int (*fn)(char*)
Predict the output of the following C program:
#include <stdio.h>
int main()
{
int arr[5];
// Assume that the base address of arr is 2000 and the size of an integer is 32 bits
arr++;
printf("%u", arr);
return 0;
}