Related Questions
What is the correct answer?
4
The function fopen() on failure returns---------------------.
What is the correct answer?
4
The -------------------------- loop executes at least once.
What is the correct answer?
4
Nested macros are allowed.
What is the correct answer?
4
The output of the following code is:
main()
{
void msg()
{
printf("HELLO WORLD");
}
}
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 contents of a file opened in 'r+' mode cannot be changed.
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 allowed in a C Arithmetic instruction
What is the correct answer?
4
All elements of a structure are allocated contiguous memory locations.
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
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
Which of the following language is predecessor to C Programming Language?
What is the correct answer?
4
A multidimensional array A[10][9] can store-------- number of elements
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
Which of the following keyword supports dynamic method resolution?
What is the correct answer?
4
Identify the wrong statement
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
Structures within structures cannot be created.
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 is not recommended in a header file?
A. Type definitions (typedefs)
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
It is necessary to initialize the array at the time of declaration.
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 not a preprocessor directive
What is the correct answer?
4
Variables declared as register storage type gets stored in CPU registers.
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
Which of the following expressions is wrong
What is the correct answer?
4
Character data types cannot be declared as unsigned.
What is the correct answer?
4
The printf() function retunes which value when an error occurs?