Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. //@author Prio
  2. //@param outputes the string "string test"
  3. //@title String Test
  4.  
  5. #include <iostream>
  6.  
  7. using std::cout;
  8. using std::endl;
  9.  
  10. int main(char * nString) {
  11.  
  12.     nString = "string test";
  13.     cout << nString << endl;
  14.     return 0;
  15. }
  16.  
  17. // succesful
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement