What is the default return type if it is not specified in function definition?
Answer: B
No answer description available for this question.
Enter details here
Property of external variable to be accessed by any source file is called by C90 standard as:
Answer: A
No answer description available for this question.
Enter details here
What is the output of this C code?
void main()
{
m();
}
void m()
{
printf("hi");
m();
}
Answer: C
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 = NULL;
int main()
{
int i = 0;
p = &i;
return 0;
}
Answer: B
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
Which of the following are an external variable?
int func (int a)
{
int b;
return b;
}
int main()
{
int c;
func (c);
}
int d;
Answer: D
No answer description available for this question.
Enter details here
What is the output of this C code?
void main()
{
m();
void m()
{
printf("hi");
}
}
Answer: B
No answer description available for this question.
Enter details here
What is the output of this C code?
void foo();
int main()
{
void foo(int);
foo();
return 0;
}
void foo()
{
printf("2 ");
}
Answer: B
No answer description available for this question.
Enter details here
Which of following is not accepted in C?
Answer: C
No answer description available for this question.
Enter details here
Can we use a function as a parameter of another function? [ Eg: void wow(int func()) ]
Answer: C
No answer description available for this question.
Enter details here