Self-describing numbers: Difference between revisions

→‎{{header|C}}: removed mangled text
m (→‎{{header|C}}: that didn't look like any header file I know; assuming it's a comment)
(→‎{{header|C}}: removed mangled text)
Line 49:
#include <stdint.h>
#include <string.h>
/* (Pragmatic_Programmers)Stuart_Halloway-Programming_Clojure-Pragmatic_Bookshelf(2009) */
 
bool is_self_describing(uint64_t n)
Line 90 ⟶ 89:
return 0;
}</lang>
 
g.h>
 
bool is_self_describing(uint64_t n)
{
uint8_t digits[10], i, k, d[10];
 
=={{header|D}}==
Anonymous user