add Chapter01 examples

This commit is contained in:
Amar Mahmutbegovic
2024-04-27 20:43:40 +02:00
parent fb4983465f
commit de6d74e093
12 changed files with 435 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
constexpr int square(int a) {
return a*a;
}
int main() {
constexpr int ret = square(2);
return ret;
}