Related Questions
What is the correct answer?
4
Structures within structures cannot be created.
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
Which of the following keyword supports dynamic method resolution?
What is the correct answer?
4
The size of signed integer is ------ bytes.
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:
void main()
{
char a = 'B';
switch (a)
{
case 'A' : printf("a");
case 'B' : printf("b");
default : printf("c");
}
What is the correct answer?
4
Operation between an integer and float always yields a float result.
What is the correct answer?
4
When a user defined function is defined in program, then it has to be called at least once from the main().
What is the correct answer?
4
The value of an enumerated datatype can be read using scanf() function.
What is the correct answer?
4
fprintf()function can be used to write into console.
What is the correct answer?
4
A C variable cannot start with
C. A special symbol other than underscore
What is the correct answer?
4
do-while loop is useful when we want the statements within the loop must be executed
What is the correct answer?
4
The output of the following code is:
main()
{
int a = 0;
for (; i = 0; i++)
printf("%d", a);
}
B. Nothing will be displayed
What is the correct answer?
4
How many times the following loop will execute?
for (a = 0; a < 4; a++)
printf("hello
");
What is the correct answer?
4
C programs are converted into machine language with the help of
What is the correct answer?
4
unsigned char has a range from 0 to ------------
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
Single operations involving entire arrays are permitted in C.
What is the correct answer?
4
Which among the following is a unconditional control structure
What is the correct answer?
4
Which of the following correctly describes C++ language?
A. Statically typed language
B. Dynamically typed language
C. Both Statically and dynamically typed language
What is the correct answer?
4
Right shifting an operand 1bit is equivalent to multiplying it by 2.
What is the correct answer?
4
For 16bit compiler allowable range for integer constants is ______ ?
What is the correct answer?
4
There are total ------ numbers of operators in 'C'.
What is the correct answer?
4
The output of the following code is:
void main()
{
int a;
int &b = a;
a=100;
printf("b=%d\ta=%d
", b,a);
}
What is the correct answer?
4
The-------------------- statement helps immediate exit from any part of the loop
What is the correct answer?
4
If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const member function)?
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
What will be output if you will compile and execute the following c code?
#include
int main()
{
float a=5.2;
if(a==5.2)
printf("Equal");
else if(a<5.2)
printf("Less than");
else
printf("Greater than");
return 0;
}
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
What is right way to Initialization array?
A. int num[6] = { 2, 4, 12, 5, 45, 5 } ;
B. int n{} = { 2, 4, 12, 5, 45, 5 } ;
C. int n{6} = { 2< 4< 12 } ;
D. int n(6) = { 2, 4, 12, 5, 45, 5 } ;