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

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

Ask a Question

Related Lessons

Rolle's theorem in Calculus explained
Rolle's theorem is slightly different from Mean Value Theorem explained as simple as possible If a real valued function f(X) is continuous over a closed interval Function is differentiable over...

Efficient Learning Strategies
Type your notes after class Write your notes onto flashcards - Scrabble -Make posters Review flashcards while walking, at gym, etc. Dog-ear pages in the reading where you can find...

Some formulas of algebra
Algebra: 1. (a + b) = a + 2ab + b 2. (a – b) = a – 2ab + b 3. (a + b) (a – b) = a – b 4. (x + a)(x + b) = x + (a + b)x + ab 5. (x + a)(x – b) = x + (a – b)x –...

Chemistry Nuclear Radiations Detection
How are nuclear radiations detected and measured? Discuss one method.The equipment utilised for the detection and measurement of radiation commonly employs some type of substance or material that responds...

Class 12 Organic Chemistry - Assigning R And S Configurations.
Configuration is the relative position of the atoms in amolecule that can be arranged / changed exclusively by cleaving and forming new chemical bonds. Steps to assign configurations: Follow the direction...

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