Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main(){
- int *ptr1;
- int *ptr2;
- int a, b;
- std::cin >> a;
- std::cin >> b;
- if(*ptr1 > *ptr2){
- std::cout << "Ponteiro 1 e maior!";
- }
- else if(*prt1 < *ptr2){
- std::cout << "Ponteiro 2 e maior!";
- }
- else{
- std::cout << "Os ponteiros sao iguais!";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement