UrbanPro

Learn C Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What is the use of semicolon at the end of every statement?

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Tutor

Computer languages are just like our normal communication languages. Hindi, eng etc. Enable to communicate us with each other. Similarly computer language helps us to communicate with computer. As a full stop tells us that the sentence is complete in the same way a semicolon tells the computer that the...
read more
Computer languages are just like our normal communication languages. Hindi, eng etc. Enable to communicate us with each other. Similarly computer language helps us to communicate with computer. As a full stop tells us that the sentence is complete in the same way a semicolon tells the computer that the instruction is complete and is to be executed. read less
Comments

13yrs exp. Math, Computers, Science, English Trainer. Improvement In Scores Guaranteed.

It's similar to our full stop.
Comments

Expert Java Trainer

Semicolon is used to terminate statement. It helps the parser to identify the end of statement because C can have any number of lines.
Comments

Accounts, Computer Science Expert

My answer is as same as Ms.Ekta.
Comments

Conceptual Learner, Critical Thinker

Semicolon is used to indicate the termination or end point of any programming instruction or statement. Lets understand it with simple examples. Ex- We want to print two individual statements as mentioned below- Printf("This is the first line"); /* here, when compiler start executing this statement,...
read more
Semicolon is used to indicate the termination or end point of any programming instruction or statement. Lets understand it with simple examples. Ex- We want to print two individual statements as mentioned below- Printf("This is the first line"); /* here, when compiler start executing this statement, it's control will execute the print statement. Once it is printed, control reach to the semicolon, then semicolon indicates the this statement is over, then control jump to the next statement,*/ printf("\nThis is second line"); //and then second print statement will be executed. This is how, instruction is executed in C language. read less
Comments

Software Developer and Trainer with 10 years of experience

It merely acts as Full Stop for each statement in Programming Language. As . symbol have different meaning in programs, ; have been used to terminate each statements.
Comments

Perl Developer | Perl Trainer

The semicolon is a statement terminator in C to help the parser figure out where the statement ends since, by default, statements in C (and C++ and Java) can have any number of lines.
Comments

I do agree with all of them as statement terminator. To add on top, it is also a "sequence point" which means all side effects of previous evaluations will have been performed, and no side effects from subsequent evaluations have yet been performed.
Comments

The compiler reads each line in a C program If the compiler encounters the semicolon it means its the end of the statement i.e statement is terminated.
Comments

Tutor

It is a instruction terminator.
Comments

View 12 more Answers

Related Questions

what is the significance of lvalue?
An lvalue (locator value) represents an object that occupies some identifiable location in memory (i.e. has an address).
Abhishek
How do I learn C programming easily?
Just follow kanitkar book of c programming for beginners
Harsh
0 0
5
What is = and == in C language?
= is assignment operator while ==is comparision operator
Sayed
0 0
6
What is C? Where it is used ?
C has the advantage that it is a relatively small language, which makes it easy to implement a C compiler (whereas a C++ compiler is a monster to write), and makes it easier to learn the language. C...
Chandi

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

C Program-Error Handling[Program Exit Status]
//Header files #include<stdio.h>#include<conio.h>#include<stdlib.h> //Main Function void main(){ int dividend=20; int divisor=5; int quotient; //Function for clearing screen clrscr();...

PRACTISE makes you PERFECT ; ; ; There is no SUBSTITUTE for HARD WORK ;;;;Breathe SUCCESS like OXYGEN
Proper Planning ( reg what portions to be covered today) revising today's class portions & clarifying doubts solving Maths problems regularly ,noting down formulae separately trying to understand...

What Are IT Industries Performance Metrics?
1. Outstanding Expectation: Eligible to get Promotion easily and good salary hike. Always preferrable to go abroad. 2. Exceed Expectation: Can get Promotion as per schedule of company with good salary...

C and C++ programming with memory level debugging
Understanding C and C++ programming by using memory level debugging. Step 1: Understand the Memory map of C executable Step 2: Start memory level debugging using popular IDE Step 3: Find the memory...

Some interview questions and answers for fresher level on Pointers
What is a void pointer? Void pointer is a special type of pointer which can reference or point to any data type. This is why it is also called as Generic Pointer. As a void pointer can point to...

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for C Language Classes?

The best tutors for C Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C Language with the Best Tutors

The best Tutors for C Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more