answersLogoWhite

0

You mean source-file? The simplest format is one single main function:

int main (void)

{ puts ("Hello, World"); return 0; }

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the structure of c prgramming?

A header file , a main part and a body


How do you make record file in c language?

To create a record file in C, you typically define a structure to represent the record data, then use file handling functions to write to a file. First, include the necessary headers like <stdio.h> and define your structure. Use fopen() to open a file in write mode, and then use fwrite() or fprintf() to write the structure data to the file. Finally, close the file with fclose() to ensure all data is saved properly.


What is basic structure of file handling in c language?

open, read/write, close


What is a cs file?

It's a C# file. C Sharp File


How can save output of c programs throw command?

C does not support try, catch, and throw. In C++, you can save the output to a file, or to some memory structure that would be displayed in a catch block.


What is mean by file in c?

A file in C means a file found in your computer's C Drive. Start > My Computer > C Drive


What is a 'D' file as opposed to a 'C' file?

There is no such thing as a standard "D" or "C" file. Please restate the question.


What deletes the entire file except the file structure?

ZAP


How can I repair an MP4 file using FFmpeg?

To repair an MP4 file using FFmpeg, you can use the command "ffmpeg -i input.mp4 -c copy output.mp4" in the terminal. This command will help fix any issues with the file's structure without re-encoding the video.


What is the difference between path name and file name?

A file name refers to the name of a specific file, while a path name represents the location of a file within a file system. The path name includes the file's directory structure, providing the file's exact location on a computer.


How many file types are avilable in C?

You can open any file with C, since it does not distinguish between file types. It's the way you read from the file.


What is the difference between fseek and lseek?

lseek is a system call, but fseek is a C function belonging to the ANSI C standard library, and included in the file stdio.h lseek uses file descriptor (return by open system call), but fseek uses pointer to FILE structure (return by fopen ANSI C library function) (though file desctor and FILE * can be used interchangeably several times). System calls are to communicate directly with an operating system. Generally, system calls are slower than normal function calls.