/******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
void *Dane(){
void *wskNaPojemnik;
int zm=8;
wskNaPojemnik = static_cast<void*>(&zm);
return wskNaPojemnik;
}
int boo()
{
return 9;
}
int main(void)
{
int *wsk;
wsk = static_cast<int*>(Dane());
std::cout << "Boo " << boo() << "\n";
int a;
a = *wsk;
std::cout << "odebrano" << a;
return 0;
}