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

14yrs exp Math Computers Science English Hindi Teaching. Improvement In Scores Guaranteed Fee REFUND

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

Is C language is used for hack or not?

Yes its is used for hacking purpose.
Jangam
The object file is in binary code, and the machine understands the binary language. So why object files are not executed?
Object files are sources compiled into binary machine language, but they do not have library files, so they are not executed.
Dhruvil
0 0
9
What is #line used for?
# is a preprocessor directive. so it is used in the c program by two way. 1. such as #include stdio.h In this line to read all the library function of stdio.h before processing the program. 2. # define...
Pradeep
Can I learn C and C++ by watching videos? If it is possible, what is the best channel?
Yes!! you can learn.but the concept won't be clear up the mark,since there is no one to guide while you are doing some programs.you might have observed these things.There are no such online tutorial that...
Mohammad
0 0
5
Should variables be stored in local blocks?
Variables in local blocks are auto variables, meaning created and removed from memory, automatically.
Sayed

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

Ask a Question

Related Lessons

Why do pointers have a datatype?
Before we start with pointers you must know what is a variable and a datatype. int a; This is the basic line in every program in 'C' . It means that we are asking the compiler to give us 2 bytes of space...

An Interesting discussion about malloc( ) and calloc( )
What are malloc( ) and calloc( )? Simply putting they are the predefined functions in C language. Malloc( ) and calloc( ) are two such functions which are used for more or less identical purpose and...

Working with C/C++ applications
Inorder to learn C and C++ programming languages one can work with various editors available.To name a few are the most popular one is turbo c++, DEV C++, Eclipse, NetBeans. Here are the screen shots...
S

Lets know about far, near and huge pointers for fresher interview purpose
All of these three candidates relate to 16 bit architecture where segmented memory architecture was there. They are not at all relevant for present days 32 or 64 bit architecture where the way of memory...

C Program to print Block Letter and Small Case Alphabets using C
/* WAP to print Block Letter and Small Case Alpahbets using C*/ //Hint:use ascii code(value) to print #include#include void main(){ int i; clrscr(); //Block Letters Alphabets printf("Block Letters Alphabets\n");...
S

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