Which function is used to check whether a character is an alphabet?
What should be used to point to a static class member?
Which of the following is a mechanism of static polymorphism?
What will be the output of the following C code?
int main()
{
int a = 5;
int b = 10;
int c = a + b;
printf("%d", c);
}
What will be the output of the following C++ code?
Which of the following syntax is correct for command-line arguments?
Which classes are considered mixin classes?
What will be the output of the following C++ code?
#include <stdio.h>
#include <stdlib.h>
int main()
{
char s[] = "365.24 29.53";
char* p;
double d1, d2;
d1 = strtod(s, &p);
d2 = strtod(p, NULL);
printf("%.2f", d1 / d2);
return 0;
}
What is static binding?
Is the following statement True or False?
The return type for function foo is const-qualified in the function definition but not in the function declaration. Is this legal?
int foo(void);
int const foo(void) {
return 42;
}