Related Questions
What is the correct answer?
4
What is Keywords?
A. Keywords have some predefine meanings and these meanings can be changed.
B. Keywords have some unknown meanings and these meanings cannot be changed.
C. Keywords have some predefine meanings and these meanings cannot be changed.
What is the correct answer?
4
Which of the STL containers store the elements contiguously (in adjecent memory locations)?
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 an example of compounded assignment statement?
What is the correct answer?
4
= and = = have the same operation.
What is the correct answer?
4
The main() function can be called from any other function.
What is the correct answer?
4
emp name' is a valid variable name.
What is the correct answer?
4
The output of the following code is:
void main()
{
float a;
int x = 10, y = 3; a = x / y;
printf("%f", a); }
What is the correct answer?
4
An array declared as A[100][100] can hold a maximum of 100 elements.
What is the correct answer?
4
strcat() function ----------------------- two strings.
What is the correct answer?
4
What will be output if you will compile and execute the following c code?
#include
int main(){
char c=125;
c=c+10;
printf("%d",c);
return 0;
}
What is the correct answer?
4
Which of the following keyword supports dynamic method resolution?
What is the correct answer?
4
The identifier argv[] is a pointer to an array of strings.
What is the correct answer?
4
unsigned char has a range from 0 to ------------
What is the correct answer?
4
fprintf()function can be used to write into console.
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 default initial value of automatic storage class is 0.
What is the correct answer?
4
Which of the following language is predecessor to C Programming Language?
What is the correct answer?
4
gets() and puts() are unformatted I/O functions.
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
The output of the following code is:
main()
{
void msg()
{
printf("HELLO WORLD");
}
}
What is the correct answer?
4
Which of the following is not a preprocessor directive
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 recommended in a header file?
A. Type definitions (typedefs)
What is the correct answer?
4
The size of signed integer is ------ bytes.
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:
int f(int a, int b);
void main()
{
int a = 12, b=154;
printf("%d", f(a, b));
}
int f(int a, int b)
{
if (a<b) return(f(b, a));
if(b==0) return(a);
return (f(b, a % b));
}
What is the correct answer?
4
If 'str' is a string of 7 characters, the statement printf("%4s", str); will display ------characters.
What is the correct answer?
4
perror( ) function used to ?
B. prints the error message specified by the compiler
C. prints the garbage value assigned by the compiler
What is the correct answer?
4
Variables declared as register storage type gets stored in CPU registers.