Related Questions
What is the correct answer?
4
printf() is not a library function.
What is the correct answer?
4
void' is a datatype.
What is the correct answer?
4
What's wrong? for (int k = 2, k <=12, k++)
A. the increment should always be ++k
B. the variable must always be the letter i when using a for loop
C. there should be a semicolon at the end of the statement
D. the commas should be semicolons
What is the correct answer?
4
Which of the following is allowed in a C Arithmetic instruction
What is the correct answer?
4
The output of the following code is:
main()
{
void msg()
{
printf("HELLO WORLD");
}
}
What is the correct answer?
4
Right shifting an operand 1bit is equivalent to multiplying it by 2.
What is the correct answer?
4
The value of an enumerated datatype can be read using scanf() function.
What is the correct answer?
4
The main() function can call itself recursively.
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()
{
static int a = 1, b, c;
if (a>=2) b=2; c=3;
printf("%d\t%d", b,c);
}
What is the correct answer?
4
Which of the following keyword supports dynamic method resolution?
What is the correct answer?
4
Which options shows the correct hierarchy of arithmetic operators
What is the correct answer?
4
The same variable names of automatic type can be used in different functions without any conflict.
What is the correct answer?
4
p++ executes faster than p + 1.
What is the correct answer?
4
Bitwise operators can operate upon?
What is the correct answer?
4
Union is used to hold different data at different time.
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
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
emp name' is a valid variable name.
What is the correct answer?
4
Each pass through a loop is called a/an
What is the correct answer?
4
The output of the following code is:
void main()
{
int a = 20;
printf("%d\t%d
", ++a, a);
}
What is the correct answer?
4
C programs are converted into machine language with the help of
What is the correct answer?
4
Which classes allow primitive types to be accessed as objects?
What is the correct answer?
4
What does STL stand for?
A. Simple Template Library
B. Standard Template Library
D. Single Type-based Library
What is the correct answer?
4
What's wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);
A. the question mark should be an equal sign
B. the first semicolon should be a colon
C. there are too many variables in the statement
D. the conditional operator is only used with apstrings
What is the correct answer?
4
The output of the following code is:
main()
{
xyz: goto abc;
printf("Hello");
abc: printf("World");
goto xyz;
}
What is the correct answer?
4
The output of the following code is:
main()
{
unsigned int a = 10;
while (a>=10)
{
int a; a-- ;
}
printf("%i", a);
}
What is the correct answer?
4
A recursive function calls itself again and again.
What is the correct answer?
4
the value *(&i) is same as printing the value of address of i.
What is the correct answer?
4
Which among the following is a unconditional control structure