#include "stdafx.h"
#include <iostream>
using namespace std;
class test
{
public:
int data1;
float data2;
public:
void function1()
{
data1 = 2;
}
float function2()
{
data2 = 3.5;
return data2;
}
};
int main()
{
function1();
return 0;
}
can anyone one explain how to get a output from this program?