Function Declaration vs Function Definition
In C++ and other low-level languages such as Solidity, there is a commonly used term: declaring a function and defining a function. What’s the difference?
#include <iostream>
void Log(const char* message) {
std::cout << message << std::endl;
}
...
mayowaobisesan.hashnode.dev2 min read