Related Questions
What is the correct answer?
4
fprintf()function can be used to write into console.
What is the correct answer?
4
C programming language was developed by
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
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
Right shifting an operand 1bit is equivalent to multiplying it by 2.
What is the correct answer?
4
The output of the following code is:
main()
{
int k, num = 30;
k = (num > 5 ? (num <= 10 ? 100 : 200) : 500);
printf("
%d", num);
}
What is the correct answer?
4
Structures within structures cannot be created.
What is the correct answer?
4
The expression 'int j = 6 + 3 % -9;' evaluates to -1.
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
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 is a valid destructor of the class name "Country"
C. int ~Country(Country obj)
What is the correct answer?
4
printf() is not a library function.
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
The main() function can call itself recursively.
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
strcat() function ----------------------- two strings.
What is the correct answer?
4
Which escape character can be used to beep from speaker in C?
What is the correct answer?
4
C programs are converted into machine language with the help of
What is the correct answer?
4
Variables declared as register storage type gets stored in CPU registers.
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
Which of the following is not a preprocessor directive
What is the correct answer?
4
Which of the following is not a standard exception built in C++.
What is the correct answer?
4
/* The C language.
/* is a procedural language .*/*/
The above statement is valid.
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
fopen() function returns a pointer to the open file.
What is the correct answer?
4
printf("%d", sizeof('2')); will print 2.
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 default initial value of automatic storage class is 0.
What is the correct answer?
4
enum helps to create user defined datatype.