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 difference between compile time error and run time error?
Compile error is the error when you check for syntax error while run time error comes when you do execution of the program.
Varada
0 0
6
Are C and C++ a prerequisite for learning Java?
yes..syntax of java is same as a c and c++..so it the advantage if you know any one of these.
Mrunal
0 0
5
What is the difference between text and binary modes?
By default files are text mode. Binary modes are machine readable form.
Raj
Is C programming and embedded C the one and the same?
in c language only u can learn c language concepts but in embeded c u can learn the in depth knowlege on c and embeded for machinelearning purpose i prefered to learn embeded c
Yogesh
0 0
5

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

Ask a Question

Related Lessons

Tips of learning Java Language/Other Programming Languages
1.You should know the basic concept: If we talk about programming languages so basic concept are same in all the high level languages. So you should know the basic concept firstly then you can easily understand...
I

ICreative Solution

0 0
0

C-Program Swapping Contents Of Variables Using Function [Call By Reference Method]
//Header Files #include#include // User defined functions swap with 2 pointer variables passed as an argument list void swap(int*i,int*j){ // Local variable temp int temp; // swapping contents using...

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...

Static and dynamic libraries
A library is a package of code that is meant to be reused by many programs. A static library (also known as an archive) consists of routines that are compiled and linked directly into your program. When...

C Program-Error Handling
//Header files #include<stdio.h>#include<conio.h>#include<stdlib.h> //Main function void main(){ int dividend=10; int divisor=0; int quotient; //Function for clearing screen clrscr(); ...

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