answersLogoWhite

0

Why you use colon in C language?

Updated: 8/9/2023
User Avatar

Wiki User

12y ago

Best Answer

In C (and C++ and Java), the semicolon is used to mark the end of a statement. It is also used the separate the expressions in a for loop.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

The same reason why you use any other symbol: because they are parts of thy syntax of the language.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why you use colon in C language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why you are use to c language?

I do use am a programmer, because C-language.


What is statement terminator in c language?

The compiler demands it: your programs wouldn't compile without them.


What is the use of loader in c language?

There is no part called 'loader' in C language.


Why do you use semi colon in do while statement?

A semi-colon is used in a do while statement for the same reason that it is used in any other statement. The rules of C and C++, as well as Java, require that every statement be terminated with a semi-colon.


How do you write a programme in c language using arrays to copy diagonal elements of a 2-d array into a 1-d array?

TO use a c language first step is to know about the c language and the steps to use the c progrmming language with the help of any elders or with the teachers. TO use the arrays you have to get th eknowledge of "c" language


Which compiler you must use to run C language?

To run C language?! Your question makes no sense.


How do you display semi colon without using semi colon in a c program?

main() { if(printf("%c",59)) }


Explain use of graphics in C language?

C has nothing to do with graphics.


Can you use C as OOPS?

No, it is a programming language.


What is the use of c-language?

Programming, mainly.


Where we use the c language?

In computer-programming.


Why are use c language?

For is it programming used.