How many types of parameters are legal for non-type templates?
What are the main benefits of using templates in programming?
main( )
{
char a=65, ch=’C’;
printit(a,ch);
}
printit( a, ch)
{
Printf(“”a= %d ch= %c”, a,ch);
}
Which of the following term is used for a function defined inside a class?
Which of the following functions are performed by a constructor?
What is the output of the following code?
int main()
{
void *vod_ptr;
int integer=2;
int *ii=&integer;
vod_ptr=ii;
printf("%d",*((int *)vod_ptr));
}
What is the purpose of the emplace() function?
The only difference between a class and a struct in C# is:
What is the 'diamond problem' that occurs with multiple inheritance in C++?