Print coordinates of an NxN grid Question: Print out all the coordinates of a NxN grid. Preferably in C, however other languages also accepted

Input: N (integer)

Output: for N=3, a 3x3 grid:

0,0
1,0
2,0
0,1
1,1
2,1
0,2
1,2
2,2
Japt, 3 bytes
o ï

Try it
o       :Range [0,input)
  ï     :Cartesian product with itself