Related Questions
What is the correct answer?
4
unsigned char has a range from 0 to ------------
What is the correct answer?
4
The expression "int i = j = k = 0;" is invalid.
What is the correct answer?
4
Bitwise operators can operate upon?
What is the correct answer?
4
char *s[10] defines an array of ------------------------
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
Which of the following is a valid destructor of the class name "Country"
C. int ~Country(Country obj)
What is the correct answer?
4
enum helps to create user defined datatype.
What is the correct answer?
4
Only one break can be used in one 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
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 shows the correct hierarchy of arithmetic operations in C
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
The array 'char name[10] can consist of a maximum of 9 characters.
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 function fopen() on failure returns---------------------.
What is the correct answer?
4
The output of the following code is:
void main()
{
float a;
int x = 10, y = 3; a = x / y;
printf("%f", a); }
What is the correct answer?
4
fopen() function returns a pointer to the open file.
What is the correct answer?
4
The output of the following code is:
#define sqr(x= x*x)
main()
{
int a = 10, b = 5;
printf("%d, %d", sqr(a+b),sqr(++a));
}
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 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
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
Which escape character can be used to beep from speaker in C?
What is the correct answer?
4
Variables declared as register storage type gets stored in CPU registers.
What is the correct answer?
4
The expression 'int j = 6 + 3 % -9;' evaluates to -1.
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
Which of the following keyword supports dynamic method resolution?
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
void' is a datatype.
What is the correct answer?
4
What is an array?
A. An array is a collection of variables that are of the dissimilar data type.
B. An array is a collection of variables that are of the same data type.
C. An array is not a collection of variables that are of the same data type.
What is the correct answer?
4
C programming language was developed by