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

Asked by Last Modified  

15 Answers

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

GST By CA Prashanth Reddy
GST on services fixed; Ola, Uber rides and flights to be cheaper, education and health exempt. The GST Council on Friday finalised tax rates for services under the Goods and Service Tax (GST) regime,...

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...

Shares
Definition of Share: Part of capital divided into small denominations, to raise money for business. Eg. Capital is Rs. 200,000, divided into shares of 2000 of 100Rs. Each Shares can be issued at par, premium...

Ashish Kumar

0 0
0

Introduction To Accounting: Part 17: Dual Aspect Concept
There are always two aspects of a Business Transaction. Examples: Purchase of Machinery for Rs 50,000. The two aspects in this transaction are: Incoming of Machinery Outflow of...

Analysis of functional groups in organic chemistry
We must know the basic reactions of various functional group. Keeping this in mind, a summery of important reactions of the alcohol functional group are summerised below . ALCOHOL ( -C-OH) Evolve...

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