+ 1

why did it's output is 100? not20.

#include <iostream> using namespace std; void myFunc(int *x) { *x = 100; } int main() { int var = 20; myFunc(&var); cout << var; }

25th Sep 2017, 4:53 PM
Shivani Goyal
2 ответов