I think it is very simple and the syntax would be as below.
[](int x, int y = 7) { }
Here "y" is a default argument.
Blockquote
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function in C programming?
I want to pass a string over the network, After Coding and Decoding How will i make sure that this is the same string ?