#include<stdio.h>
struct node
{
int date;
int num;
char name;
};
void fun(struct node n);
main()
{
struct node n;
fun(n);
}
void fun(struct node n)
{
n.date = 10;
n.num = 99;
n.name = 'a';
printf("%d %d %c",n.date,n.num,n.name);
}
Op :
10 99 a
0 comments: