Both can be compiled.
Can I change the order like int long
, long int
, and long int
?
If the top two are the same, is the pointer type the same?
c++ syntax long-initeger
C++ Standard (7.1.6.2 Simple type specifiers)
If multiple simple type designators are used, the result is independent of the order.
That's what it says.
That is, int long
= long int
= long int
If you want
It's also possible to share.
© 2024 OneMinuteCode. All rights reserved.