MCQs > IT & Programming > Swift > Output of the last line? let a=4 print(a&+0) print(a&-O) print(a&0) print(a<<1) print(a>>1) print(a<<2)

Swift MCQs

What will be the output of the last line of the given Apple Swift code?

let a=4

print(a&+0)

print(a&-O)

print(a&0)

print(a<<1)

print(a>>1)

print(a<<2)


Answer

Correct Answer:

16

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it