MCQs > IT & Programming > C Programming > Assuming, integer is 2 byte,Output of the program? #includeint main() { printf('%x\n', -2<<2); return 0; }

C Programming MCQs

Assuming, integer is 2 byte, What will be the output of the program? #include<stdio.h>int main() { printf("%x\n", -2<<2); return 0; }

Answer

Correct Answer: fff8

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