Related Questions
What is the correct answer?
4
Which of the following is an example of compounded assignment statement?
What is the correct answer?
4
A multidimensional array A[10][9] can store-------- number of elements
What is the correct answer?
4
Which of the following expressions is wrong
What is the correct answer?
4
The expression "b = 3 ^ 2;" will evaluate b = 9.
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
Variables declared as register storage type gets stored in CPU registers.
What is the correct answer?
4
The size of signed integer is ------ bytes.
What is the correct answer?
4
The main() function can be called from any other function.
What is the correct answer?
4
Which of the following language is predecessor to C Programming Language?
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 output of the following code is:
main()
{
int a = 5, b = 6;
(a == b? printf("%d", a));
}
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 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
The expression (i + j)++ is illegal.
What is the correct answer?
4
------ is the ternary operator
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
A declaration float a, b; occupies ___ of memory
What is the correct answer?
4
The function fopen() on failure returns---------------------.
What is the correct answer?
4
Identify the wrong statement
What is the correct answer?
4
static variable will not always have assigned value.
What is the correct answer?
4
Which header file is essential for using strcmp() function?
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
unsigned' is a valid variable name.
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
The expression 'int j = 6 + 3 % -9;' evaluates to -1.
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
/* The C language.
/* is a procedural language .*/*/
The above statement is valid.
What is the correct answer?
4
Only one break can be used in one loop.
What is the correct answer?
4
= and = = have the same operation.
What is the correct answer?
4
Which of the following keyword supports dynamic method resolution?