What will the program segment


I'm not sure how to solve the question. Can anyone help me?

What will the following program segment display?

x = 19;

if (++x < 20)

cout << "a";

else if ( ++x == 20)

cout << "b";

else

cout << "c";

Can you write this program in C++ language?

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: What will the program segment
Reference No:- TGS0946564

Expected delivery within 24 Hours