Untitled
Anonymous
plain_text
08/24/2024 9:10 PM
368 B
17
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