Related Questions
What is the correct answer?
4
p++ executes faster than p + 1.
What is the correct answer?
4
continue statement is used
A. to go to the next iteration in a loop
C. exit and return to the main function
D. restarts iterations from beginning of loop
What is the correct answer?
4
Which header file is essential for using strcmp() function?
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
Which one of the following is not a valid reserved keyword in C++
What is the correct answer?
4
The statement "for (i = 0, j = 2; j <= 10; j++)" is a valid statement in 'C'.
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 -------------------------- loop executes at least once.
What is the correct answer?
4
Character data types cannot be declared as unsigned.
What is the correct answer?
4
A function to be called must be ended with a----------------
What is the correct answer?
4
In the expression - 'x + y + 3z =20'
B. 3 and 20 are constants
D. y is a variable and z is a constant
What is the correct answer?
4
Left shift operator rotates the bits on the left and places them to the right.
What is the correct answer?
4
Union is used to hold different data at different time.
What is the correct answer?
4
The output of the following code is:
main()
{
int a[10], i;
for (i = 1; I <= 0; i++)
{
scanf("%d", a[i]);
printf("%d", a[i]);
}
}
D. 1 to 10 will be displayed
What is the correct answer?
4
The function fopen() on failure returns---------------------.
What is the correct answer?
4
emp name' is a valid variable name.
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
What will be output if you will compile and execute the following c code?
#include
int main(){
char c=125;
c=c+10;
printf("%d",c);
return 0;
}
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
Nested macros are allowed.
What is the correct answer?
4
No commas or blanks are allowed within an integer or a real constant.
What is the correct answer?
4
What would be the output of the following program?
int x=40;
main(){
int x=20;
printf("
%d",x);
}
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
Identify the wrong statement
What is the correct answer?
4
There are total ------ numbers of operators in 'C'.
What is the correct answer?
4
A continue statement causes execution to skip to
A. the return 0; statement
B. the first statement after the loop
C. the statement following the continue statement
D. the next iteration of the loop
What is the correct answer?
4
Which of the following expressions is wrong
What is the correct answer?
4
What will be output if you will compile and execute the following c code?
#include
int main(){
int i=320;
char *ptr=(char *)&i;
printf("%d",*ptr);
return 0;
}
What is the correct answer?
4
For 16bit compiler allowable range for integer constants is ______ ?
What is the correct answer?
4
The expression "int i = j = k = 0;" is invalid.