New course! Every coder should learn Generative AI!
Try a free lesson0
#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<<"-----------";
}