answersLogoWhite

0

Documentation section

link section

definition section

Global declaration section

main() function section

{

Declaration part

Executable part

}

subprogram section

(user defined function)

By jancy

Answer: Doesn't really have a structure, but there are some rules you have to follow:

- function-definitions cannot be nested;

- in a code-block, data declaration/definitions must come before the executable statements

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is java program made of?

basic unit of C is structure like procedure ,syntax's, error's compiler etc


Basic control structure available in c plus plus?

The basic control structure in C++ is the if statement.


Basic structure of c n c plus plus?

The basic structure of a C or C++ program is built around types. A structure is a type. A function is a type. A class is a type. All of these types can be built from primitive (built-in) types and can be used to create ever-more complex types.


Define a complex number using c structure?

Just define two fields (whatever those are called in "C" - the parts of the structure), one for the real part, one for the imaginary part.Just define two fields (whatever those are called in "C" - the parts of the structure), one for the real part, one for the imaginary part.Just define two fields (whatever those are called in "C" - the parts of the structure), one for the real part, one for the imaginary part.Just define two fields (whatever those are called in "C" - the parts of the structure), one for the real part, one for the imaginary part.


Can you define a function within a structure?

No, it is the other way around: you can define a structure within a function.In C++ though, structs are actually classes, so they can have methods.


C program to find largest among three numbers?

#define max2(a,b) (b>a?b:a) #define max3(a,b,c) (max2(a,max(b,c)))


How do you pass in Anna university chennai?

Define c-program and give an example


How can define date data type in c structure?

struct tm can be an example.


Describe the structure of a c program?

Yes, please do.


Basic parts of TURBO C program?

Editor - edits text Compiler - compiles the program Linker - links the program Debugger - helps finding bugs


How do you define the structure size in C language?

You cannot define the size of the structure, but you can query it with sizeof.The structure size in C language depends on the elements of the structure.Example:#include struct Test{int v;char str[100];};int main(){printf("The structure size is %d\n", sizeof(struct Test));return 0;}


What has the author Granville C Henry written?

Granville C. Henry has written: 'Computing in BASIC for calculus' -- subject(s): BASIC (Computer program language), Calculus, Data processing, Basic (Computer program language) 'Forms of concrescence' -- subject(s): Prolog (Computer program language)