I am on osx. I found this http://neugierig.org/software/c-repl/ but the links on that page for code seem to be broken.
gdb makes a pretty good REPL. You can't define new functions there, but you can evaluate expressions (including those with side effects).
I was wondering if there is something like an interpreter for C. That is, in a Linux terminal I can type in "python" and then code in that interpreter. (I'm not sure interpreter the right word). This is really helpful …
I'm just wondering if this is possible using either (Python, Java or C)? I'm looking for something like IPython for Python.
How do I determine the size of my array in C? That is, the number of elements the array can hold?