Declaration of list of statements

Hi

This might be a really silly question:
For a list of statements why is the declaration
BUF(Stmt **stmts) rather than BUF(Stmt *stmts) ?

Edited by Aravind on Reason: Initial post
If you have "int" type and want to have an array of ints then you do "int *" (add an asterix) to point to first element of array
If statement is "Stmt *" type, then to have an array of statements you add an asterix and get "Stmt **". This means you can point to first element of array with "Stmt *" elements - each array element is pointer itself.

Edited by Mārtiņš Možeiko on
1
Stmt **stmts
means
1
stmts
is pointer to and/or array of
1
Stmt *
elements
Got it guys, thanks for the reply.

Edited by Aravind on