🟢 Վարժություն 20
Ի՞նչ կտպվի էկրանին։
#include <iostream>
int* foo() {
int x = 10;
return &(x);
}
int main() {
std::cout << foo();
}To check your solution you need to sign in
Sign in to continue
Sign in to your account
Ի՞նչ կտպվի էկրանին։
#include <iostream>
int* foo() {
int x = 10;
return &(x);
}
int main() {
std::cout << foo();
}Sign in to your account