The operator used for dereferencing or indirection is ______
What type of objects can a void pointer point to?
What is the output of the following C program?
Which of the following is important in defining a function?
Which of the following is the correct definition of an object in object-oriented programming?
Comment on the output of this C code?
void main()
{
float x = 0.1;
printf("%d, ", x);
printf("%f", x);
}
What is the output of the following C program?
#include<stdio.h>
int main()
{
printf("Hello world");
main();
}
What is the purpose of the function char *strchr(char *ch, int c)?
What is the output of the following code?
#include<iostream>
using namespace std;
class cppbuzz_base{
public:
void hello(){
cout<<"Hello Base ";
}
};
class derived: public cppbuzz_base{
public:
void hello(){
cout<<"Hello Derived ";
}
};
int main()
{
derived obj;
cppbuzz_base baseObj = cppbuzz_base(obj);
baseObj.hello();
return 0;
}