Question
The output of the code below is
void main()
{
int k = 8;
int m = 7;
k < m ? k++ : m = k;
printf("%d", k);
}
void main()
{
int k = 8;
int m = 7;
k < m ? k++ : m = k;
printf("%d", k);
}
Answer: Option C
Was this answer helpful ?
None.
Was this answer helpful ?
Submit Solution