Output of Below C Code? Assume that int takes 4 bytes.
x = 5;
x = 0;
Thanks to Gokul Kumar for contributing this question.
(A) Compiler error in line “static int x = 0”
Explanation: Size of gives size of arr * int in bytes = 20
Left shift two times gives you 80.
Quiz of this Question
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses
are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!