with out using ; we can print the hello world or we can not print

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Computer Science Engineer

The C/C++ compiler uses a semicolon ';' to understand when a statement terminates. To print a string constant such as "Hello world" to any output device would require a function(printf for c/c++) , its arguments ("Hello world") and a termination character(';'). If all of these are provided with a suitable...
read more
The C/C++ compiler uses a semicolon ';' to understand when a statement terminates. To print a string constant such as "Hello world" to any output device would require a function(printf for c/c++) , its arguments ("Hello world") and a termination character(';'). If all of these are provided with a suitable header (if required by compiler) then Hello World will be printed successfully on the screen. Eg. printf("Hello world"); Output: Hello world read less
Comments

Tutor

s possible
Comments

Tutor

s possible if(printf("Hello World")){ }
Comments

Tutor

In C language ,we can not print. It will show error.
Comments

Graduate , Diploma in Computer Management (Datapro) and C-DAC (Diploma in Advanced Computing ) from Pune Advanced Computing Training Centre

Tricky question :-) Yeah , we can by writing the statements within if() or while()
Comments

Trainer and Educator

which language are you using?
Comments

MCA, BSC(H)(IT), 2 years diploma in advanced software Technology.

you cannot..
Comments

The semicolon is used only for the termination of statements; it has no role in a particular function such as print. Hence it is necessary for every statement of a program.
Comments

Tutor

int main (void) { puts("Hello, World!"); return 0; }
Comments

Math Magician

We cannot print without ; it will give you error....
Comments

View 13 more Answers

Related Lessons

Keep writing a habbit
Whenever you start study take some notes of it , make points describing that topic and start using highlighter so next you can revise the main points on the go.
L

Leena S.

0 0
0

Cash Flow Statement
Purpose of a statement of cash flows: To provide information about the cash inflows and outflows of an entity during a period. To summarize the operating, investing, and financing activities of the...

How To Record Sale Of Services On Account In Quickbooks?
Keeping track of sales is a critical need for any business, and the QuikBooks accounting packages allows for easy tracking and accounting of the sales and payments made. Sales can be recorded by creating...
K

Khushboo B.

1 0
0

L' HOPITAL rule in solving limit problems.
L'HOPITAL rule : Applicable to all limit problems wherein both numerator and denominator becomes either '0' or '∞' like 0/0 or ∞/∞ after substituting limiting value. As per this method,...

Introduction to physics
The nature around us is very colourful and diverse. Physics is the study of nature and its laws.Physics is an experimental science: Physicists observe the phenomena of nature and try to find patterns that...

Recommended Articles

Swati is a renowned Hindi tutor with 7 years of experience in teaching. She conducts classes for various students ranging from class 6- class 12 and also BA students. Having pursued her education at Madras University where she did her Masters in Hindi, Swati knows her way around students. She believes that each student...

Read full article >

Urmila is a passionate teacher with over 8 years of experience in teaching. She is currently pursuing her Ph. D. She provides classes for Class 11, Class 12, MBBS and Medical tuition.  Urmila began her career in teaching long before she became a teacher. She used to provide classes for foreign national students in her college...

Read full article >

Radhe Shyam is a highly skilled accounts and finance trainer with 8 years of experience in teaching. Accounting is challenging for many students and that’s where Radhe Shyam’s expertise comes into play. He helps his students not only in understanding the subject but also advises them on how to overcome the fear of accounts...

Read full article >

Raghunandan is a passionate teacher with a decade of teaching experience. Being a skilled trainer with extensive knowledge, he provides high-quality BTech, Class 10 and Class 12 tuition classes. His methods of teaching with real-time examples makes difficult topics simple to understand. He explains every concept in-detail...

Read full article >

Looking for Class 12 Tuition ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you