Question: Given: int a = 7, int d = -4, int c = 2. What would be the value of Y in the below statement? Y

Given: int a = 7, int d = -4, int c = 2.

What would be the value of Y in the below statement?

Y = a-- * ++d + c--

a. -19

b. -23

c. Invalid

d. 23

----

Given: int a = 7, int b = 3, int c = 2, int d=-4.

What would be the value of Y in the below statement?

Y = ++a/((++d+c--)+ --b)

a. Invalid

b. 8

c. 10

d. -10

-----------

An argument is

a) a variable without a data type

b) when the compiler disagrees with your syntax

c) the data passed to a function

d) a value with an undetermined decimal point

--------------------------------------

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!