anantha_gangaraju
asked on
St. Seperator and St. Terminator
Hello All,
What is the diff. between st. separator and st. separator?
I heard that semicolon (;) is st. separator in C and st. terminator in pascal or the other way round.
Thanks in Advance.
Anantha
What is the diff. between st. separator and st. separator?
I heard that semicolon (;) is st. separator in C and st. terminator in pascal or the other way round.
Thanks in Advance.
Anantha
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Seperator separtes expressions within a line.
Terminator ends a line.
Terminator ends a line.
ASKER
Hi rbr,
u mean to say separator is more like a token separator like any other white space character?
Thank u for u'r response,
Anantha
u mean to say separator is more like a token separator like any other white space character?
Thank u for u'r response,
Anantha
In C white space don^t separate (have no effect except in string literals)
You can write
printf ("Print this %d,%d,%d",a,b,c);
or
printf (
"Print this %d,%d,%d"
, a
b
,
c
);
getting the same results.
You can write
printf ("Print this %d,%d,%d",a,b,c);
or
printf (
"Print this %d,%d,%d"
, a
b
,
c
);
getting the same results.
ASKER
I wanted to know the diff. between st. terminator and st. separator and not what is what in c and pascal.
Any how Thank u for u'r response.
I think i made it clear now.