Which type should a container define?
Pick out the correct library in the following choices.
#include
Which variable does equals in size with enum variable?
Which of following is not accepted in C?
Which of the following syntax for declaring a variable of struct STRUCT is valid in both C and C++?
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
int a = 5, b = 6, c, d;
c = a, b;
d = (a, b);
cout << c << " " << d;
return 0;
}
What is the output of this C code?
#include <stdio.h>
int main() {
printf(“Hello World! %d\n”, x);
return 0;
}
Which of the following statement(s) is/are correct?
Predict the output of the following code given below
#include‹stdio.h›
int main()
{
struct site
{
char name[] = "Abekus";
int no_of_pages = 200;
};
struct site *ptr;
printf("%d ", ptr->no_of_pages);
printf("%s", ptr->name);
getchar();
return 0;
}