fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. char arr[20]; int i; for(i = 0; i < 10; i++) { *(arr + i) = 65 + i; } *(arr + i) = '\0'; cout << arr;
  7. return 0;
  8. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
ABCDEFGHIJ