Related Questions
What is the correct answer?
4
Which of the following keyword supports dynamic method resolution?
What is the correct answer?
4
Which escape character can be used to beep from speaker in C?
What is the correct answer?
4
Which of the following is an example of compounded assignment statement?
What is the correct answer?
4
Expression 4**3 evaluates to 64.
What is the correct answer?
4
What's wrong? while( (i < 10) && (i > 24))
A. the logical operator && cannot be used in a test condition
B. the while loop is an exit-condition loop
C. the test condition is always true
D. the test condition is always false
What is the correct answer?
4
The output of the following code is:
void main()
{
int z, a = 5, b = 3; z = a * 2 + 26 % 3;
printf("%d", z); }
What is the correct answer?
4
Single operations involving entire arrays are permitted in C.
What is the correct answer?
4
Which of the following is a valid destructor of the class name "Country"
C. int ~Country(Country obj)
What is the correct answer?
4
Which among the following is a unconditional control structure
What is the correct answer?
4
printf() is not a library function.
What is the correct answer?
4
What will be output if you will compile and execute the following c code?
#include
#define x 5+2
int main(){
int i;
i=x*x*x;
printf("%d",i);
return 0;
}
What is the correct answer?
4
void' is a datatype.
What is the correct answer?
4
Which of the following is not a preprocessor directive
What is the correct answer?
4
Which of the following is not a standard exception built in C++.
What is the correct answer?
4
The output of the following code is:
void main()
{
char a = 'B';
switch (a)
{
case 'A' : printf("a");
case 'B' : printf("b");
default : printf("c");
}
What is the correct answer?
4
gets() and puts() are unformatted I/O functions.
What is the correct answer?
4
Right shifting an operand 1bit is equivalent to multiplying it by 2.
What is the correct answer?
4
A pointer is an indication of the variable to be accessed next.
What is the correct answer?
4
The expression "b = 3 ^ 2;" will evaluate b = 9.
What is the correct answer?
4
Which header file is essential for using strcmp() function?
What is the correct answer?
4
Which one of the following is not a valid reserved keyword in C++
What is the correct answer?
4
The output of the following code is:
main()
{
int sub[50];
for(i=0; i<=48;i++)
{
sub[i]=i;
printf("
%d", sub[i]);
}
}
A. 0 to 48 will be displayed
What is the correct answer?
4
Operation between an integer and float always yields a float result.
What is the correct answer?
4
Variables declared as register storage type gets stored in CPU registers.
What is the correct answer?
4
Every if statement can be converted into an equivalent switch statement.
What is the correct answer?
4
Which one of the following is not a fundamental data type in C++
What is the correct answer?
4
unsigned char has a range from 0 to ------------
What is the correct answer?
4
Which of the following is the most preferred way of throwing and handling exceptions?
A. Throw by value and catch by reference.
B. Throw by reference and catch by reference.
C. Throw by value and catch by value
D. Throw the pointer value and provide catch for teh pointer type.
What is the correct answer?
4
C is a ___ language
A. High Level and Procedural
C. Middle Level and Procedural
D. Machine Level and OOPS
What is the correct answer?
4
If 'str' is a string of 7 characters, the statement printf("%4s", str); will display ------characters.