Type in function protocol before Call print it works | Sololearn: Learn to code for FREE!

0

Type in function protocol before Call print it works

5/27/2017 4:52:31 AM

Rishabh

1 Answer

New Answer

0

#include<iostream.h> void func() // we are creating a function with name func with return type void { cout<<"it works"<<endl; } int main{ cout<<"------------"; func(); cout<<"-----------"; }