You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-09-15 04:14:02
C Language Control Structures Quiz:
C Programming Quizzes C Language Control Structures
Directions:
What will be the output of the given program?
Question:
#include<stdio.h>
void main()
{
int a=11,b=5;
if(a=5) b++;
printf("%d %d", ++a, b++);
}
Option A):
5 6
Option B):
12 7
Option C):
6 6
Option D):
11 6
Correct Answer is Option C):
6 6
Failure is the first step towards seccess.
Offline
2015-09-15 04:14:02
- Advertisement
- Ads By Google
Re: C Language Control Structures Quiz:
\n
Pages:: 1