fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char** notes;
  5. notes = (char*[]) {
  6. "D3", "C4", "A2", "A3", "A2#", "A3#", "REST"
  7. };
  8. printf("%c\n", notes[0][0]);
  9.  
  10. notes = (char*[]) {
  11. "E3", "C4", "A2", "A3", "A2#", "A3#", "REST"
  12. };
  13. printf("%c\n", notes[0][0]);
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 2052KB
stdin
Standard input is empty
stdout
D
E