Post History
shortC, 78 bytes i,j;f(Ix,Iy,I*p){R"[");O;i<x;i++)Oj=0;j<y;j++)*p++&&R"[%d,%d],",i,j);J"\b]");} Try it online! From @Lundin's C (gcc) answer.
Answer
#1: Initial revision
# [shortC], 78 bytes i,j;f(Ix,Iy,I*p){R"[");O;i<x;i++)Oj=0;j<y;j++)*p++&&R"[%d,%d],",i,j);J"\b]");} [Try it online!][TIO-kucluy6y] From [**@Lundin**](https://codegolf.codidact.com/users/8176)'s [C (gcc)](https://gcc.gnu.org/) [answer](https://codegolf.codidact.com/posts/280372/280390#answer-280390). [shortC]: https://github.com/aaronryank/shortC [TIO-kucluy6y]: https://tio.run/##PY7BCsIwDIbfpbCxrjm0FnbJdvBYLwOvtRcdw/agRT1slD57jRMlgRD@7yN5Xu@P16UUDwHnxixgVjBt5OnILOM4ou8X9ELwMQwSQ79ioKWNQtQ1IdUE1eSAAfkcD@x0dmTlsjf@FpVVznZuSEmBBLWVzBko2lntqH9Rhv@UX4ieUdB9UMXR0@m50aA3tbwB "shortC – Try It Online"