C Notes For Professionals

C Notes For Professionals.

This C Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow. Text content is released under Creative Commons BY-SA, see credits at the end of this book whom contributed to the various chapters. Images may be copyright of their respective owners unless otherwise specified.

This is an unofficial free book created for educational purposes and is not affiliated with official С group(s) or company(s) nor Stack Overflow. All trademarks and registered trademarks are the property of their respective company owners.

C Notes For Professionals

Hello World.

To create a simple С program which prints "Hello, World" on the screen, use a text editor to create a new file (e.g. hello. с — the file extension must be . c) containing the following source code:
hello.c
#include <stdio.h>
int main(void)
{
puts("Hello, World");
return 9; >
Live demo on Coliru
Let's look at this simple program line by line
#include <stdio.h>
This line tells the compiler to include the contents of the standard library header file stdio.h in the program. Headers are usually files containing function declarations, macros and data types, and you must include the header file before you use them. This line includes stdio.h so it can call the function puts().
See more about headers.
int main(void)
This line starts the definition of a function. It states the name of the function (main), the type and number of arguments it expects (void, meaning none), and the type of value that this function returns (int). Program execution starts in the main() function.




Бесплатно скачать электронную книгу в удобном формате, смотреть и читать:
Скачать книгу C Notes For Professionals - fileskachat.com, быстрое и бесплатное скачивание.

Скачать pdf
Ниже можно купить эту книгу по лучшей цене со скидкой с доставкой по всей России.Купить эту книгу



Скачать - pdf - Яндекс.Диск.


Дата публикации:





Теги:


 


 

Книги, учебники, обучение по разделам




Не нашёл? Найди:





2021-04-16 23:13:47