answersLogoWhite

0

A structure is a type so you just need to pass the structure as you would any other data type: by reference or by value.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Pass a structure to functions?

Passing Structure to a function:type specifier function-name (structure-variable);


What structure composed two or more tissue types that work together perform specific functions for the body?

An organ is a structure composed of two or more tissue types that work together to perform specific functions for the body. Examples of organs include the heart, lungs, and liver.


What are the kinds of sentences according to functions and structure?

sentences according to functions and structure


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.


Does cell structure determine functions?

Yes, cell structure plays a crucial role in determining the functions of a cell. The specific organelles present and their arrangement within a cell influence its ability to carry out specific tasks such as energy production, protein synthesis, or waste removal. Variations in cell structure contribute to the diverse functions of different cell types in the body.


What are organs, and how are they made up of tissues?

Organs are structures in the body that perform specific functions. They are made up of different types of tissues that work together to carry out these functions. Tissues are groups of cells that are similar in structure and function. In an organ, different types of tissues come together to form a specialized structure that performs a specific task.


What are the types of trigonometric functions?

There are three types of trigonometric functions, they are: 1- Plane Trigonometric Functions 2- Inverse Trigonometric Functions and 3- Hyperbolic Trigonometric Functions


Types of functions?

there are various types of functions namely composite,polynomials, power,root


What are the subject-matters of data structure?

types of data structure types of data structure


Why nucleus is not in the same place within different types of cells?

every cell is different, different size different functions different placements in the structure


Wich structure in the male has both reproductive and excretory functions?

The urethra is the male structure which has both reproductive and excretory functions.


The structure of a cell is most closely related to what?

The structure of a cell is most closely related to its function. Different types of cells have unique structures that are specialized to perform specific functions within the organism. The structure determines what activities the cell can carry out and how it interacts with its environment.