"? What is its significance?"/> "? What is its significance?"/> "? What is its significance?"/> "? What is its significance?"/>
Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (lgbasallote):

Why do most c programs i see use " > "? What is its significance?

OpenStudy (lgbasallote):

i.e. printf("Enter data number > ");

OpenStudy (rsmith6559):

The only thing that > does in C is greater than. In a printf statement, it has no significance except it's a character. In your printf statement, it's being used to look like a prompt.

OpenStudy (lgbasallote):

yes. that's what i was asking. Why use > instead of just a colon?

OpenStudy (konradzuse):

Yeah i wouldn;'t see it being anything other than greater than; however it could just be a marker of some sort, so I wouldn't worry too much about it iggloo

OpenStudy (rsmith6559):

It's just the programmer's idea of what a prompt looks like. A colon would work fine, and FWIW, I'd use the colon.

OpenStudy (lgbasallote):

me too....

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!