Related Questions
What is the correct answer?
4
It is necessary to initialize the array at the time of declaration.
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
Operation between an integer and float always yields a float result.
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:
void main()
{
char a = 'B';
switch (a)
{
case 'A' : printf("a");
case 'B' : printf("b");
default : printf("c");
}
What is the correct answer?
4
A recursive function calls itself again and again.
What is the correct answer?
4
C programs are converted into machine language with the help of
What is the correct answer?
4
The expression 'int j = 6 + 3 % -9;' evaluates to -1.
What is the correct answer?
4
Which of the following is an example of compounded assignment statement?
What is the correct answer?
4
All elements of a structure are allocated contiguous memory locations.
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
Character data types cannot be declared as unsigned.
What is the correct answer?
4
char *s[10] defines an array of ------------------------
What is the correct answer?
4
The value of an enumerated datatype can be read using scanf() function.
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
the value *(&i) is same as printing the value of address of i.
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
Which of the following is not a preprocessor directive
What is the correct answer?
4
Nested macros are allowed.
What is the correct answer?
4
Identify the wrong statement
What is the correct answer?
4
The output of the following code is:
void main()
{
int a = 1, b=2;
int *ip;
ip=&a;
b=*ip;
printf("%d", b);
}
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()
{
unsigned int a = 10;
while (a>=10)
{
int a; a-- ;
}
printf("%i", a);
}
What is the correct answer?
4
The expression (i + j)++ is illegal.
What is the correct answer?
4
Which of the following is not true about preprocessor directives
A. They begin with a hash symbol
B. They are processed by a preprocessor
C. They form an integral part of the code
D. They have to end with a semi colon
What is the correct answer?
4
&& and & operators have the same meaning.
What is the correct answer?
4
The function fopen() on failure returns---------------------.
What is the correct answer?
4
strcat() function ----------------------- two strings.
What is the correct answer?
4
static variable will not always have assigned value.
What is the correct answer?
4
The output of the following code is:
main()
{
xyz: goto abc;
printf("Hello");
abc: printf("World");
goto xyz;
}