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

If the size of integer is 4bytes, What will be the output of the program
#include<stdio.h>

int main()
{
int arr[] = {12, 13, 14, 15, 16};
printf("%d, %d, %d\n", sizeof(arr), sizeof(*arr), sizeof(arr[0]));
return 0;
}

🗓 Mar 23, 2025

Answer is "20, 4, 4"

Comments and Discussions

You don't need to login to post your comment

Comments:
30
Views:
60k
Likes:
120k
572 votes
Sierra 🌐 India
hmm, where is the explanation
Was this answer helpful?
1100 votes
Kimberly 🌐 India
Thank you so much for the answer
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