Control Flow Statements C Questions And Answers
Here you can find Control Flow Statements C Questions and Answers.
Why Control Flow Statements C Questions and Answers Required?
In this Control Flow Statements C Questions and Answers section you can learn and practice Control Flow Statements C 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 Control Flow Statements C Questions and Answers?
AllIndiaExams provides you lots Control Flow Statements C Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download
Control Flow Statements C Questions and Answers as PDF files and eBooks.
How to solve these Control Flow Statements C Questions and Answers?
You no need to worry, we have given lots of Control Flow Statements C Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Bank Exams interview.
Control Flow Statements C Questions & Answers
1. Which keyword can be used for coming out of recursion?
Control Flow Statements C Questions & Answers
2. What is the output of this C code?
int main()
{
int a = 0, i = 0, b;
for (i = 0;i < 5; i++)
{
a++;
continue;
}
}
Control Flow Statements C Questions & Answers
3. What is the output of this C code?
int main()
{
int a = 0, i = 0, b;
for (i = 0;i < 5; i++)
{
a++;
if (i == 3)
break;
}
}
Control Flow Statements C Questions & Answers
4. The keyword ‘break’ cannot be simply used within:
Control Flow Statements C Questions & Answers
5. Which keyword is used to come out of a loop only for that iteration?
Control Flow Statements C Questions & Answers
6. What is the output of this C code?
void main()
{
int i = 0, j = 0;
for (i = 0;i < 5; i++)
{
for (j = 0;j < 4; j++)
{
if (i > 1)
break;
}
printf("Hi \n");
}
}
Control Flow Statements C Questions & Answers
7. What is the output of this C code?
void main()
{
int i = 0;
int j = 0;
for (i = 0;i < 5; i++)
{
for (j = 0;j < 4; j++)
{
if (i > 1)
continue;
printf("Hi \n");
}
}
}
Control Flow Statements C Questions & Answers
8. What is the output of this C code?
void main()
{
int i = 0;
for (i = 0;i < 5; i++)
if (i < 4)
{
printf("Hello");
break;
}
}
Control Flow Statements C Questions & Answers
9. What is the output of this C code?
void main()
{
int i = 0;
if (i == 0)
{
printf("Hello");
continue;
}
}
Control Flow Statements C Questions & Answers
10. What is the output of this C code?
void main()
{
int i = 0;
if (i == 0)
{
printf("Hello");
break;
}
}