In a program i have to calculate pow(2,N) where 0<N<=1000. which data type is suitable for this?
I have used unsigned long long int but its range is also limited.
shanki himanshu 27 Light Poster
subith86 17 Junior Poster
zeroliken 79 Nearly a Posting Virtuoso
shanki himanshu 27 Light Poster
subith86 17 Junior Poster
shanki himanshu 27 Light Poster
subith86 17 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.