SHARE
TWEET

Untitled

a guest Sep 19th, 2019 111 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top