C++ type unsigned long int

Viewed 46611

Is unsigned long int equivlant to unsigned long ? in C++

In my opinion they are same. But I saw some people still using unsigned long int in code. Don't understand why? Could anybody explain it for me

#include <stdio.h>

int main() {
    unsigned long int num = 282672; 
    int normalInt = 5;
    printf("");
    return 0;
}
5 Answers
Related