Superspeed 2

Operated by Color Line

Superspeed 2

: Returning 0 is the standard way to tell the operating system that everything went well. 3. How to Compile and Run

#include // Standard input/output library // The main function is where the program starts int main() { // Your code goes here printf("Hello, World!\n"); // Outputs text to the screen return 0; // Signals that the program finished successfully } Use code with caution. Copied to clipboard

To create a main.c file, you need to set up the basic structure that every C program requires to run. The main() function is the mandatory entry point where execution begins. A standard main.c file typically looks like this:

Main.c Direct

: Returning 0 is the standard way to tell the operating system that everything went well. 3. How to Compile and Run

#include // Standard input/output library // The main function is where the program starts int main() { // Your code goes here printf("Hello, World!\n"); // Outputs text to the screen return 0; // Signals that the program finished successfully } Use code with caution. Copied to clipboard main.c

To create a main.c file, you need to set up the basic structure that every C program requires to run. The main() function is the mandatory entry point where execution begins. A standard main.c file typically looks like this: : Returning 0 is the standard way to

The quickest way to make & manage your booking

Download our app today

Customer Service

Visit our customer service page to find useful information on travelling by ferry, our FAQs, and how to contact us for help with your booking

Need help?

Let's keep in touch

Exclusive deals delivered to your inbox