Question: Please help me answer the following C programming questions. thanks multiple choice questions 1. If d is a double and we execute d = (int)4.3;,

Please help me answer the following C programming questions. thanks

multiple choice questions

1. If d is a double and we execute d = (int)4.3;, what is the value of d?

a. 4

b. 4.3

c. 4.0

d. 0.3

2. What is the value of !12 ?

a. 12

b. 1

c. 0

d. 2

3. Which of the following increments the variable after using its value?

a. n = n - 1;

b. ++n;

c. n /= 1;

d. n++;

4. Which expression is the same as !obese && !crippled ?

a. !(obese && crippled)

b. !(obese || crippled)

c. obese || !crippled

d. !obese || crippled

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!