What are the values of x and y after execution of the following statements?

x = 5;
y = ++x;

a) x = 5, y = 6
b) x = 6, y = 6
c) x = 6, y = 7
b) x = 6, y = 6

b) x = 6, y = 6

Computer Science & Information Technology

You might also like to view...

The most common home network is a ________

A) client/server network B) token ring LAN C) peer-to-peer network (P2P) D) WAN

Computer Science & Information Technology

Chart templates are saved using the ________ file extension

Fill in the blank(s) with correct word

Computer Science & Information Technology