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 Questions

when the pH of a saturated solution of M(OH)2 is 13. Hence Ksp of M(OH)2 is
POH = 1 2OH = 10^-1 OH = 0.05 M s = 0.05 M Ksp = 4s^3 Ksp = 5 x 10^-4 M^3
Profile Photo
K.kamal
Describe a situation when someone gave positive comments about the work you did for them.
Positive comments always motivates to improve our performance by enhancing ability,encouraging effort and acknowledging results. It somehow make us to improve our efficiency and reduce our mistakes.we get positive vibes and try to work hard.
Profile Photo
Chandandeep
The distance from the center of a circle to its edge is called what?
the distance from the center of the circle to the outer edge is called the radius. The radius is one-half of the measure of the diameter.
Profile Photo
Kalam
What is mixed compound?
A mixed compound is a chemical compound containing an element (usually a metal) in m ore than one oxidation state.
Profile Photo
Atul
0 0
View Comments6

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

Ask a Question

Related Lessons

Introduction To Accounting: Part 4: Accounting Cycle
Remember when we started learning English? We started off by learning Alphabets, then we joined Alphabets to form Words, then we joined Words to form Sentences, then we joined Sentences to form Paragraphs,...
Profile Photo


Atomic Structure
All substances are made from atoms. Each atom is made of a nucleus - containing protons and neutrons - surrounded by electrons. The atomic number is the number of protons in an atom. The elements are...
Profile Photo

Rigid body and Centre of mass
Till now, we have considered the motion of a single particle or a body considered as a particle represented as a point mass (practically no size) and various laws were applied on them. But ant real body...
Profile Photo

Acid, Base and Salts
The reaction of an acid with a base to produce only salt and water is called a neutralization reaction. Acids Acids are sour in taste. If hydronium ions are found in a solution, the solution is acidic...
Profile Photo

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