Telegram Group 🔥🔥🔥 Get answers in minutes
Questions answered : 48 /50
Guy
Guy
Guy
Guy
Guy
+ 4981 more
Verified Answer verified

What is the output of the below code considering size of short int is 2, char is 1 and int is 4 bytes?    int main()    {        short int i = 20;        char c = 97;        printf("%d, %d, %d\n", sizeof(i), sizeof(c), sizeof(c + i));        return 0;    }

🗓 Nov 13, 2024

Answer is "2, 1, 4"

Comments and Discussions

You don't need to login to post your comment

Comments:
30
Views:
60k
Likes:
120k
2 votes
Anonymous 🌐 India
2,1,4
Was this answer helpful?
2 votes
Anonymous 🌐 India
explaination
Was this answer helpful?

Was your question answered?

Want to get famous? 📸

Answer question and get 🤩 high-lighted on our homepage.

Just Automated Logo

© 2017-2022 Foxoyo™
All rights reserved.

Facebook Connect with us