Apr 14, 2020 In this video, you'll learn the first and basic program which given the every B.tech students or who are interested to do coding. So, the program is all about how you can print a sentence that is. Write a C, C program to print hello world without using semicolon. In this tutorial, we are going to write a program which will print hello world using if-else, while and switch statements. In c, c programming language every line ends with a semicolon, so it seems tricky how do you use printf in C and cout in C without semicolon.
Description
The C library function int printf(const char *format, ..) sends formatted output to stdout.
Declaration
Following is the declaration for printf() function.
Parameters
Hello World In Dev C++![]() Return Value
If successful, the total number of characters written is returned. On failure, a negative number is returned.
ExampleHow To Print Hello In Dev C Language
The following example shows the usage of printf() function.
Print Hello World In Dev C++
Let us compile and run the above program to produce the following result −
How To Print Hello World In Dev C++
stdio_h.htm
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |