What is the format identifier for “static a = 20.5;”?
Answer: B
No answer description available for this question.
Enter details here
Functions have static qualifier for its declaration by default.
Answer: B
No answer description available for this question.
Enter details here
The value obtained in the function is given back to main by using ________ keyword?
Answer: A
No answer description available for this question.
Enter details here
What is the problem in the following declarations?
int func(int);
double func(int);
int func(float);
Answer: D
No answer description available for this question.
Enter details here
Array sizes are optional during array declaration by using ______ keyword.
Answer: C
No answer description available for this question.
Enter details here
Which of the following cannot be static in C?
Answer: D
No answer description available for this question.
Enter details here
In C all functions except main() can be called recursively.
Answer: B
Any function including main() can be called recursively.
Enter details here
What is the output of this C code?
void m()
{
printf("hi");
}
void main()
{
m();
}
Answer: A
No answer description available for this question.
Enter details here
What is the output of this C code?
int main()
{
auto i = 10;
const auto int *p = &i;
printf("%d\n", i);
}
Answer: A
No answer description available for this question.
Enter details here
Which part of the program address space is p stored in the code given below?
int *p;
int main()
{
int i = 0;
p = &i;
return 0;
}
Answer: C
No answer description available for this question.
Enter details here