Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
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<<"-----------"; }
22nd Nov 2017, 5:43 AM
Gowri Ranjitha Uppala