Related Questions
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
Union is used to hold different data at different time.
What is the correct answer?
4
Which of the following expressions is wrong
What is the correct answer?
4
continue statement is used
A. to go to the next iteration in a loop
C. exit and return to the main function
D. restarts iterations from beginning of loop
What is the correct answer?
4
Which of the following is an example of compounded assignment statement?
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 default initial value of automatic storage class is 0.
What is the correct answer?
4
fopen() function returns a pointer to the open file.
What is the correct answer?
4
C programming language was developed by
What is the correct answer?
4
It is necessary to initialize the array at the time of declaration.
What is the correct answer?
4
Nested macros are allowed.
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
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
Which options shows the correct hierarchy of arithmetic operators
What is the correct answer?
4
What is C Tokens?
A. The smallest individual units of c program
B. The basic element recognized by the compiler
C. The largest individual units of program
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
Operation between an integer and float always yields a float result.
What is the correct answer?
4
Which of the following is invalid?
What is the correct answer?
4
The-------------------- statement helps immediate exit from any part of the loop
What is the correct answer?
4
The expression 'int j = 6 + 3 % -9;' evaluates to -1.
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
The size of signed integer is ------ bytes.
What is the correct answer?
4
enum helps to create user defined datatype.
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
There are total ------ numbers of operators in 'C'.
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 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
printf() is not a library function.
What is the correct answer?
4
The expression "int i = j = k = 0;" is invalid.
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().