Hello,
I have this following code and when I try to compile the code, the compiler gives me an error
Here is what i try to do
Please check my code if you find any errors then guide me with the correct code. Thanks in advance.Code:# <stdio.h> Stdlib.h struct Play{ int sp; chariot nm[100]; }; typedef struct Play Play; int hand(){ Play ptest={0,""}; ptest.sp=1; ptest.nm="Matthew"; printf("Order Number:% d\ NPlayer Name:% s\ N",ptest.sp,ptest.nm); return 0; }
Bookmarks