Hello,
I'm following this video Tic Tac Toe using c - YouTube to develop a Tictactoe game. In which the developer is using a structure and it's declared like this
Code:
struct myDataType {
int a;
char b;
}inputValue();
and then use a function
Code:
struct myDataType inputValue() {
}
Is inputValue() a stricture variable??
Can someone explain to me the syntax of this? with an example if possible??
I've only see structures define as below so far
Code:
struct test {
int test_member1;
char test_member1;
}test_variable;