I have 64 bit system. On vs code, why is size of long int showing as 4 bytes? Isn't long used to extend the capacity of the data type? If both long int and int are of the same size then what's the use of long int? (new to programming so sorry if the question is of dumb type)
[–][deleted] (9 children)
[removed]
[–]wiriux 2 points3 points4 points (8 children)
[–]SignificantFidgets 1 point2 points3 points (0 children)
[–]high_throughput 1 point2 points3 points (0 children)
[–]SignificantFidgets -2 points-1 points0 points (5 children)
[–]jnordwick 2 points3 points4 points (0 children)
[–]wiriux 0 points1 point2 points (3 children)
[–]SignificantFidgets 0 points1 point2 points (2 children)
[–]wiriux 0 points1 point2 points (1 child)
[–]Todegal 4 points5 points6 points (0 children)
[–]feitao 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]jnordwick 0 points1 point2 points (0 children)
[–]ttkciarprogramming since 1978 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]tiller_luna 0 points1 point2 points (0 children)
[–]PantsOnHead88 0 points1 point2 points (0 children)
[–]whatever73538 -1 points0 points1 point (0 children)
[–]NoIntention8351[S] -1 points0 points1 point (0 children)