Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(int argc, char *argv[])
  5. {int i=1,count=0;
  6. cout<<argc<<endl;
  7. while (argv[i] != '\0') {
  8. i++; }
  9. cout << "Count " << count<<endl<<i;
  10.  
  11. return 0;
  12. //cout<<argc-1<<" words"<<endl;
  13.  
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement