Link to home
Start Free TrialLog in
Avatar of anantha_gangaraju
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
ASKER CERTIFIED SOLUTION
Avatar of rbr
rbr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of anantha_gangaraju
anantha_gangaraju

ASKER

Hi rbr,
  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.
Seperator separtes expressions within a line.
Terminator ends a line.
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
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.