C Language : Conditional Statements

What will be the output of the following code segment?

int a = 100, b = 74;
if (a++ > 100 && b++ > 200)
printf("High values with a = %d b = %d\n", a, b);
if (a++ < 100 || b++ < 200)
printf("Low values with a = %d b = %d\n", a, b);
,

What will be the output of the following code segment?

int a = 100, b = 74;
if (a++ > 100 && b++ > 200)
printf("High values with a = %d b = %d\n", a, b);
if (a++ < 100 || b++ < 200)
printf("Low values with a = %d b = %d\n", a, b);

What will be the output of the following code segment?

int a = 100, b = 74;
if (a++ > 100 && b++ > 200)
printf("High values with a = %d b = %d\n", a, b);
if (a++ < 100 || b++ < 200)
printf("Low values with a = %d b = %d\n", a, b);




Solution
B. Low values with a = 102 b = 75



CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad