Long « Data Type « C++






1.cout for long intcout for long int
2.Using atol: convert string to long
3.Using strtol: convert string to long
4.Using strtoul: convert string to unsigned long