0

Can someone please explain a little bit more in dept of dividing sizeof operators

#include <iostream> using namespace std; int main(){ int numbers[100]; cout << sizeof(numbers)/sizeof(numbers[0]); // outputs 100 return 0; } // Why does it output to 100 I just need a little bit more explanation thank you :)

27th Mar 2019, 4:35 AM
Gideon Adams
Gideon Adams - avatar
2 Respuestas
+ 2
Coffee☕Underrun Thank you so much for sacrificing your time to explain it to me I really appreciate it :)
27th Mar 2019, 6:04 AM
Gideon Adams
Gideon Adams - avatar