#include<iostream> using namespace std; func(int a,int b){ cout<<"a is "<<a; cout<<"\nb is "<<b; } int main(){ func(12.3,34.3); }
Standard input is empty
prog.cpp:4:17: error: ISO C++ forbids declaration of ‘func’ with no type [-fpermissive] func(int a,int b){ ^
Standard output is empty