Defining Constants in wordpress

Hi Guys,

Which is the correct place to define constants in wordpress ?

wp-config.php
functions.php
page.php or in other file ?

Thanks