Skip to content

Commit 9593a21

Browse files
committed
Tambah: src/function/auto
1 parent 487317c commit 9593a21

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/functions/auto/src/func_auto.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#include <iostream>
2+
3+
auto add(auto a, auto b) {
4+
return a + b;
5+
}
6+
7+
int main() {
8+
std::cout << add(3,4);
9+
}

0 commit comments

Comments
 (0)