Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //prototyping a fucntion in c++
- #include <iostream>
- using namespace std;
- void print (); // function prototype
- int main(){
- print(); // function name
- return 0;
- }
- // function
- void print (){
- cout<< " Hello,World" <<endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement