fork download
  1.  
  2. int main(void){
  3. //#define _CONST_INT // const intでコンパイルエラー確認する時は定義
  4. #ifdef _CONST_INT
  5. const int N=3;
  6. #else
  7. #define N 3
  8. #endif
  9.  
  10. double A[N][N]= {
  11. {1, 2, 3},
  12. {4, 5, 6},
  13. {7, 8, 9}
  14. };
  15.  
  16. return 0;
  17. }
Success #stdin #stdout 0.01s 5476KB
stdin
Standard input is empty
stdout
Standard output is empty