fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. const char str[7] = "string";
  5. const char *str1 = str;
  6. if(str == str1) printf("Endereços de memória iguais");
  7. }
  8.  
  9. //https://pt.stackoverflow.com/q/340098/101
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
Endereços de memória iguais