[ create a new paste ] login | about

Link: http://codepad.org/br4WwF1f    [ raw code | output | fork ]

C, pasted on Sep 14:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <memory.h>

#include <inttypes.h>


int main()
{
 
char sNum[] = "354224848179261915075";
char * p;
unsigned long long ull;
ull = strtoull(sNum, &p, 10);
printf("wow %llu\n", ull);
    return 0;
}


Output:
1
wow 18446744073709551615


Create a new paste based on this one


Comments: