Which of the following is a storage specifier?
Answer: C
No answer description available for this question.
Enter details here
What is the output of this C code?
int x;
void main()
{
printf("%d", x);
}
Answer:
Enter details here
The output of the code below is
void main()
{
int k = m();
printf("%d", k);
}
void m()
{
printf("hello");
}
Answer: A
No answer description available for this question.
Enter details here
Usually recursion works slower than loops.
Answer: A
When a recursive call is made, the function/process clones itself and then process that funtion. This leads to time and space constrains.
In a loop, there is no recursive call involved that saves a lot of time and space too.
Enter details here
What is the output of this C code?
void main()
{
m();
printf("%d", x);
}
int x;
void m()
{
x = 4;
}
Answer: B
No answer description available for this question.
Enter details here
What is the output of this C code?
void main()
{
int x;
}
here x is?
Answer: A
No answer description available for this question.
Enter details here
If a function contains two return statements successively, the compiler will generate warnings. Yes/No ?
Answer: A
No answer description available for this question.
Enter details here
Automatic variables are stored in:
Answer: A
No answer description available for this question.
Enter details here
Automatic variables are initialized to?
Answer: B
No answer description available for this question.
Enter details here
In a function two return statements should never occur.
Answer: B
No answer description available for this question.
Enter details here