This commit is contained in:
Leo Firmin 2026-02-04 22:57:17 +01:00
parent b605c0bc52
commit c10b942c60
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ void print(std::string &str)
std::cout << str << std::endl;
}
void afficherConst(const int &nb)
void printf_const(const int &nb)
{
std::cout << nb << std::endl;
}
@ -22,6 +22,6 @@ int main()
int tab2[] = {1, 2, 3, 41};
iter(tab2, 4, add_one);
std::cout << std::endl;
iter(tab2, 4, afficherConst);
iter(tab2, 4, printf_const);
return 0;
}