MCQs > IT & Programming > C Programming > Assuming integer is 4 bytes long and the address for 'i' is 2000, Output for the following code? int main() { int ***foo, **bar, *foobar, i=5; foobar = &i; bar = &foobar; foo = &bar; printf('%d, %d, %d\n', *foobar, **bar, ***foo); return 0; }

C Programming MCQs

Assuming integer is 4 bytes long and the address for 'i' is 2000, what is the output for the following code? int main() { int ***foo, **bar, *foobar, i=5; foobar = &i; bar = &foobar; foo = &bar; printf("%d, %d, %d\n", *foobar, **bar, ***foo); return 0; }

Answer

Correct Answer: 5, 5, 5

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