Computer Science, asked by 1157684, 1 month ago

What is the output of this program?
a) inside if
b) inside elseif
c) inside if ; inside elseif
d)compile time error

Attachments:

Answers

Answered by pritishpurav111
1

Answer:

b) Inside elseif

Explanation:

int x = 1

x < 0 ( 1 is not less than 0 so this will go false)

x > 0 ( 1 is big than 0 so this is true )

Similar questions