In C++ the struct keyword is optional everywhere except the original definition.
Code:
#include <iostream> 
using namespace std;

struct Data
{
	int num1;
	int num2;
};

void show(struct Data* ptr)
{
	cout<<"Data:\n"
	    <<ptr->num1<<endl
	    <<ptr->num2<<endl;
}
int main()
{
	struct Data myData;
	myData.num1 = 20;
	myData.num2 = 30;

	show(&myData);
	
	return 0;
}
blue = optional