why we are using int32_t main( ). Also mean what is diff b/w int main and int32_t main( )
Why we are using int32_t main( ). Also mean what is diff b/w int main and int32_t main( )
You must have seen it in a code of competitive programmer’s, as they use too many header files so the possible explanation could be that one of their#include
files at the top redefines int
as something else. This may happen if somebody tried to change the data type in some algorithm by simply redefining int
. So that’s why they use int32_t . Moreover their is no need of using int32_t you can use int main as you won’t get any issue with it.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.