Related Questions
What is the correct answer?
4
Which of the following is invalid?
What is the correct answer?
4
The output of the following code is:
main()
{
int sub[50];
for(i=0; i<=48;i++)
{
sub[i]=i;
printf("
%d", sub[i]);
}
}
A. 0 to 48 will be displayed
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
= and = = have the same operation.
What is the correct answer?
4
What is Keywords?
A. Keywords have some predefine meanings and these meanings can be changed.
B. Keywords have some unknown meanings and these meanings cannot be changed.
C. Keywords have some predefine meanings and these meanings cannot be changed.
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
Which of the following language is predecessor to C Programming Language?
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
Each pass through a loop is called a/an
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
A multidimensional array A[10][9] can store-------- number of elements
What is the correct answer?
4
The output of the following code is:
void main()
{
int z, a = 5, b = 3; z = a * 2 + 26 % 3;
printf("%d", z); }
What is the correct answer?
4
C programming language was developed by
What is the correct answer?
4
Which of the following is not an infinite loop
A. int i =1;
while (1)
{i++;}
C. int true=0< false;
while (true)
{false = 1;}
D. int y, x = 0;
do
{y = x;}
while (x==0);
What is the correct answer?
4
Which of the following is not a preprocessor directive
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
Which one of the following is not a valid reserved keyword in C++
What is the correct answer?
4
Which of the following is not a standard exception built in C++.
What is the correct answer?
4
static variable will not always have assigned value.
What is the correct answer?
4
The-------------------- statement helps immediate exit from any part of the loop
What is the correct answer?
4
The contents of a file opened in 'r+' mode cannot be changed.
What is the correct answer?
4
Which escape character can be used to beep from speaker in C?
What is the correct answer?
4
The output of the following code is:
void main()
{
int a = 0;
while (a<=50) for(;;) if(++a % 50==0) break;
printf("a = %d", a);
}
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
What does STL stand for?
A. Simple Template Library
B. Standard Template Library
D. Single Type-based Library
What is the correct answer?
4
Every if statement can be converted into an equivalent switch statement.
What is the correct answer?
4
Operation between an integer and float always yields a float result.
What is the correct answer?
4
The main() function can call itself recursively.
What is the correct answer?
4
The size of signed integer is ------ bytes.