Why do most c programs i see use " > "? What is its significance?
i.e. printf("Enter data number > ");
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.
yes. that's what i was asking. Why use > instead of just a colon?
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
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.
me too....
Join our real-time social learning platform and learn together with your friends!