fork download
  1. #include <stdlib.h>
  2. int main() {
  3. char* A = (char*)malloc(10*sizeof(char));
  4. A = "123\0";
  5. A[0] = '1'; //5 строка
  6.  
  7. char* B;
  8. B = "123456789123456789123456789123456789123456789123456789\0"; // 8 строка
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5532KB
stdin
Standard input is empty
stdout
Standard output is empty