0

C code question

Why is the output "Not equal"? #include <stdio.h> int main() { char arr[] = {1,2,3}; char *p = arr; if (&p == &arr) printf("Equal"); else printf("Not equal"); return 0; }

13th May 2021, 9:05 PM
Edward Finkelstein
Edward Finkelstein - avatar
0 odpowiedzi