I saw the logo Onion Omega. I made my logo three letters "TIM" and in 6 lines, trying to display one of them and get a Ошибка сегментирования (сделан дамп памяти) .
Here is the code:
#include <stdio.h> int main(void) { char logo[] = { '/////// /// // //', '/ / /// //// ////', '/// /// // // // //', ' / / /// // // //', ' / / /// // //', ' /// /// // //' }; printf(logo[1]); return 0; } How to fix it? Maybe I'm doing something wrong?