Related Questions
What is the correct answer?
4
printf() is not a library function.
What is the correct answer?
4
Character data types cannot be declared as unsigned.
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 is an array?
A. An array is a collection of variables that are of the dissimilar data type.
B. An array is a collection of variables that are of the same data type.
C. An array is not a collection of variables that are of the same data type.
What is the correct answer?
4
Which one of the following is not a fundamental data type in C++
What is the correct answer?
4
C programming language was developed by
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
Which of the following shows the correct hierarchy of arithmetic operations in C
What is the correct answer?
4
unsigned char has a range from 0 to ------------
What is the correct answer?
4
The default initial value of automatic storage class is 0.
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
What's wrong? while( (i < 10) && (i > 24))
A. the logical operator && cannot be used in a test condition
B. the while loop is an exit-condition loop
C. the test condition is always true
D. the test condition is always false
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 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
gets() and puts() are unformatted I/O functions.
What is the correct answer?
4
Only one break can be used in one loop.
What is the correct answer?
4
It is necessary to initialize the array at the time of declaration.
What is the correct answer?
4
All elements of a structure are allocated contiguous memory locations.
What is the correct answer?
4
Nested macros are allowed.
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 -------------------------- loop executes at least once.
What is the correct answer?
4
An array elements are always stored in _________ memory locations.
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
The contents of a file opened in 'r+' mode cannot be changed.
What is the correct answer?
4
Which header file is essential for using strcmp() function?
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
strcat() function ----------------------- two strings.
What is the correct answer?
4
------ is the ternary operator
What is the correct answer?
4
Which among the following is a unconditional control structure
What is the correct answer?
4
Which escape character can be used to beep from speaker in C?