+ 2
What does the function with such syntax mean .. A (int i):i (++i){}
4 Answers
+ 2
It means that there's a function whose argument is i then it assigns i=++i
+ 2
@Gordie .that explaination suits my piece of code.
Also been there some func. like a(0) post ':' it would have called a() by passing 0 in it.Is that right ?
+ 1
It means that the function assigns a=0