fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3. int DP = 512;
  4. int FS = 5000;
  5. array [5] VOLT = DP * FS / 1024;
  6.  
  7.  
  8. int main() {
  9.  
  10.  
  11. return 0;
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:6:29: error: incompatible types in assignment of ‘int’ to ‘char [5]’
 char VALORE [5] = (VALORE = VOLT;
                             ^~~~
prog.cpp:6:33: error: expected ‘)’ before ‘;’ token
 char VALORE [5] = (VALORE = VOLT;
                                 ^
stdout
Standard output is empty