Reference Alias Update

#include <iostream>
#include <cstdint>

int main() {
    int32_t a, b;
    std::cin >> a >> b;

    // Write your code here
     
     int32_t &Refa = a ;
     Refa += b ;


    std::cout << a;
    return 0;
}

Solving Approach

 

 

 

Upvote
Downvote
Loading...

Input

5 3

Expected Output

8