How many parameters does the srand() function accept?
Which function is used to check whether a character is an alphabet or number?
Which of the following is a valid class declaration?
Which of the following directives is executed by the preprocessor?
Which of the following expressions are valid?
Given:
float a = 14.0, b = 4.0
1. p = a / b
2. p = a + b
3. p = b - a
4. p = a % b
What is the output of the following C program?
int main()
{
int var = 0;
for(; var++; printf("%d", var));
printf("%d", var);
}
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int x = 0;
int *ptr = &x;
printf("%p\n", ptr);
return 0;
}
Which of the following about C comments is incorrect?
What is the output of the following C program?
Which of the following is used to make an abstract class?