0
void cdecl fun1(int,int);
void pascal fun2(int,int);
int main(){
  int a=5,b=5;

  fun1(a,++a);
  fun2(b,++b);
 return 0;
}
void cdecl fun1(int p,int q){
  printf("cdecl:  %d %d \n",p,q);
}
void pascal fun2(int p,int q){
  printf("pascal: %d %d",p,q);
}

Error : :12: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âfun1â

Vinoth Krishnan
  • 2,925
  • 6
  • 29
  • 34
sameer pradhan
  • 324
  • 1
  • 4
  • 14

0 Answers0