Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- //using namespace std;
- int main (int argc, char * const argv[]) {
- char str[10];
- int i = 12345;
- sprintf(str,"%d", i);
- // insert code here...
- std::cout << str[1] << std::endl;
- return 0;
- }
Add Comment
Please, Sign In to add comment