C Functions Questions And Answers
Here you can find C Functions Questions and Answers.
Why C Functions Questions and Answers Required?
In this C Functions Questions and Answers section you can learn and practice C Functions Questions and Answers to improve your skills in order to face technical inerview conducted by Banks. By
Practicing these interview questions, you can easily crack any Bank Exams interview.
Where can I get C Functions Questions and Answers?
AllIndiaExams provides you lots C Functions Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download C Functions
Questions and Answers as PDF files and eBooks.
How to solve these C Functions Questions and Answers?
You no need to worry, we have given lots of C Functions Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Bank Exams interview.
C Functions Questions & Answers
1. What is the output of this C code?
int main()
{
void foo(), f();
f();
}
void foo()
{
printf("2 ");
}
void f()
{
printf("1 ");
foo();
}
C Functions Questions & Answers
2. What is the output of this C code?
int main()
{
void foo();
void f()
{
foo();
}
f();
}
void foo()
{
printf("2 ");
}
C Functions Questions & Answers
3. What is the output of this C code?
void foo();
int main()
{
void foo();
foo();
return 0;
}
void foo()
{
printf("2 ");
}
C Functions Questions & Answers
4. What is the output of this C code?
void foo();
int main()
{
void foo(int);
foo(1);
return 0;
}
void foo(int i)
{
printf("2 ");
}
C Functions Questions & Answers
5. What is the output of this C code?
void foo();
int main()
{
void foo(int);
foo();
return 0;
}
void foo()
{
printf("2 ");
}
C Functions Questions & Answers
6. What is the output of this C code?
void m()
{
printf("hi");
}
void main()
{
m();
}
C Functions Questions & Answers
7. What is the output of this C code?
void m();
void n()
{
m();
}
void main()
{
void m()
{
printf("hi");
}
}
C Functions Questions & Answers
8. What is the output of this C code?
void main()
{
m();
void m()
{
printf("hi");
}
}
C Functions Questions & Answers
9. What is the output of this C code?
void main()
{
m();
}
void m()
{
printf("hi");
m();
}
C Functions Questions & Answers
10. What is the output of this C code?
void main()
{
static int x = 3;
x++;
if (x <= 5)
{
printf("hi");
main();
}
}
- Page 13