Untitled
unknown
c_cpp
2 years ago
350 B
12
Indexable
#include <iostream>
using namespace std;
int main()
{
float x =1;
double y= 1.5;
float* wskf = &x; //wskaznik typu float
double* wskd = &y; //wskaznik typu double
cout<< x <<endl;
cout<< &x <<endl;
cout<< *wskf <<endl;
cout<< y <<endl;
cout<< &y <<endl;
cout<< *(wskd)<<endl;
return 0;
}Editor is loading...
Leave a Comment