log base e synthax c++

C++
#include <math.h>       /* log */

 double param, result;
  param = 10;
  result = log (param);
  printf ("log(%f) = %f\n", param, result );
Source

Also in C++: