[SOLVED] Question about C coding

Status
Not open for further replies.

amirm2039

Newbie level 6
Joined
Sep 13, 2014
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
89
Hi,
Would you help me, please?

Is it necessary to use ',' between two variables? (i.e. int A,B
Can't I use 'space' instead of ',' ?
Because I saw blew codes:
int _BAN_ eMe; (int _BAN_spaceeMe; )
or
extern int _BAN_ Xfr;
or
typedef struct A B;
So, what do these codes mean?
 

It is necessary the comma between multimple variables.

Anyway, these questions are too elementary in C programming, so that I would recommend you take a search at tutorials on the Web according to your knowledge level. There you can find more informations and examples related to the subject.
 

If ',' comma is not placed, how C compiler will parse your line?

Think logical, in terms as if you are compiling other's written C code by hand, manually and you will find lot of answers yourselves.

Regards,
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…