diretivas-de-compilação

When to use const and when to use # define

Since the two do the same function is there any difference between one and the other? I will take the code from this site as ... , NEWLINE); return 0; } When the code is compiled and executed it reproduces the following result: Value of area: 50