Which is not a cpp keyword?
How many types of returning values are present in c++?
What is the size of a boolean variable in C++?
Which of the following operators is used for dereferencing or indirection?
A language which has the capability to generate new data types are called ________________
What is the output of the following C program?
int main()
{
extern int num;
printf("%d", num);
}
int num = 10;
What are pointers to member used to refer to?
What will be the output of the following C program?
#include <stdio.h>
int main()
{
void demo();
void (*fun)();
fun = demo;
(*fun)();
fun();
return 0;
}
void demo()
{
printf("Quiz ");
}
What will be the output of the following C++ code?
#include <iostream>
#include <string>
#include <cstdlib>
using namespace std;
int main(int argc, char const *argv[])
{
int a = 5;
int &p = a;
cout<<p;
return 0;
}
What is a memory leak in C?