IN following optins which is true statement about prototype declaration in C++? 1. void fun1(int,float); 2. void fun1(int a,float b); 3. void fun1(int a,float b=30.34); 4.void fun1(int a=10,float b);
Last one cannot be true as default parameters cannot be only on the first param but you have to specify it for all the subsequent params