Guest User

Untitled

a guest
May 23rd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include <iostream>
  2. //using namespace std;
  3.  
  4. int main (int argc, char * const argv[]) {
  5.  
  6. char str[10];
  7. int i = 12345;
  8.  
  9. sprintf(str,"%d", i);
  10.  
  11. // insert code here...
  12. std::cout << str[1] << std::endl;
  13. return 0;
  14. }
Add Comment
Please, Sign In to add comment