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 Questions

A point pole has a strength of 4? × 10-4 weber. The force in newtons on a point pole of 4? × 1.5 × 10-4 weber placed at a distance of 10 cm from it will be A.) 20 N. B.) 15 N. C.) 7.5 N. D.) 3.75 N.
Given data: Pole strength m1 = 4? × 10-7 Weber; m2 = 4? × 1.5 × 10-4; r = 10 cm. We know that the force is found by the below expression, F = 15 N
Kumar Upendra Akshay
0 0
7
can current exist without wire ?
If one will go through the working principle of vacuum tubes, like any diode or triode valve, will easily conclude how thermal electrons can move towards a relatively high potential anode from a cathode/filament....
Ranjan Mishra
Can I teach online to students or can I get a part time tutor job?
I highly recommend you to do both, teach online as well as get a part-time job. You should teach because it gives you happiness and not for the money.
Tina
A selection committee is to be chosen consisting of 5 ex-technicians. Now there are 12 representatives from four zones. It has further been decided that if Mr. X is selected, Y and Z will not be selected and vice-versa. In how many ways it can be done?
Answer = 12(C)5 - 3*9(C)4 - 6*9(C)3 - 9(C)2 12(C)5 represent the number of ways to select 5 things out of 12 things. 12(C)5 = total possible ways to select 5 out of 12 9(C)4 = total possible ways...
Divya
0 0
9

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

Ask a Question

Related Lessons

Ways to Learn Faster, Deeper, and Better Perspective and Focus
Change your focus. There are three primary ways to learn: visual, kinesthetic, and auditory. If one isn’t working for you, try another. Do walking meditation. If you’re taking a hike , go...

Introduction To Accounting: Part 11: Accrual Concept
According to the Accrual Assumption, a transaction is recorded in the books of account at the time when it is entered into and not when the settlement takes place. For Example, if goods are sold...

How to solve physics problems?
IDENTIFY the relevant concepts: Use the physical conditions stated in the problem to help you decide which physics concepts are relevant. Identify the target variables of the problem—that is, the...

Rank test
Rank Sum Test: The medians test and the examination of the math test scores in Section reduce every observation of a coin toss. Specifically, the medians test judges every observation as being either above...

Chemistry- Lewis Concept Of Acids And Bases.
Explain the Lewis concept of acids and bases.A Lewis acid is, therefore, any substance, such as the H+ ion, that can accept a pair of nonbonding electrons. In other words, a Lewis acid is an electron-pair...

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