Question: Consider the following code fragment: A = true; B = false; C = ~ ( ( A | | B ) && ~ ( B

Consider the following code fragment:
A = true;
B = false;
C = ~((A || B) && ~(B && A));
if C
D = 'Home Skillet'
else
D =0
end
What data type will D be at the end of this code fragment?
a. char
b. double
c. integer
d. logica

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 Programming Questions!