Untitled
unknown
plain_text
a year ago
274 B
10
Indexable
int main() {
int a = 5;
int b = 5;
int *p1 = &a;
int *p2 = &b;
if (*p1 == p2) {
printf("Os valores apontados por p1 e p2 são iguais.\n");
} else {
printf("Os valores apontados por p1 e p2 são diferentes.\n");
}
return 0;
}Editor is loading...
Leave a Comment