Integer literal as parameters of function declaration in cpp
I’m almost familiar with c and c++ programming. Today I was searching about function declaration when I suddenly came across a strange syntax in c++ language. I wrote below code: #include <iostream> using namespace std; int foo(‘3′); int bar(3); int main(){ } I’ve never seen defining the literals as function parameters! So I expected to… Read More Integer literal as parameters of function declaration in cpp