fork download
  1. #include <iostream>
  2.  
  3. class Exemplo {
  4. public:
  5. void nada(int a, int b = 0);
  6. };
  7. void Exemplo::nada(int a, int b) { std::cout << b; }
  8.  
  9. int main() {
  10. Exemplo x = Exemplo();
  11. x.nada(1);
  12. }
  13.  
  14. //https://pt.stackoverflow.com/q/273957/101
Success #stdin #stdout 0s 4312KB
stdin
Standard input is empty
stdout
Standard output is empty