Skip to main content
3 of 3
Golfing suggestion.
Jonathan Frech
  • 7.3k
  • 1
  • 22
  • 44

C (gcc), 67 56 55 bytes

m;x(char*_){for(m=1;*_++;m*=10)*_*=*_^47;m=m==atoi(_);}

Try it online!

Jonathan Frech
  • 7.3k
  • 1
  • 22
  • 44