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