MCQs > IT & Programming > C Programming > Output of the following code? main() { int foo = 10; foo = foo << 2; printf('foo = %d',foo); }

C Programming MCQs

What is the output of the following code? main() { int foo = 10; foo = foo << 2; printf("foo = %d",foo); }

 

Answer

Correct Answer: foo = 40

Explanation:

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

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it