fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void lol(int a=5, int b){
  5.  
  6. }
  7.  
  8. int main() {
  9. // your code goes here
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘void lol(int, int)’:
prog.cpp:4:6: error: default argument missing for parameter 2 of ‘void lol(int, int)’
 void lol(int a=5, int b){
      ^
stdout
Standard output is empty