answersLogoWhite

0

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.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Is it possible to define a structure within another structure?

yes


Can you define a function inside a function?

No. Functions should be defined separately. So you would not define a function within a function. You can define one function, and while defining another function, you can call the first function from its code.


What is a structure performing a speific function within cell?

A structure performing a specific function within a cell is called an organelle.


How do you define vestigial structure?

Vestigial structure is used in application to structures that are determined genetically but do not have the ancestral function.


What is an organelle?

An organelle is a specialized structure within a cell that performs a specific function to help the cell survive and function properly. Examples of organelles include the nucleus, mitochondria, and endoplasmic reticulum.


Structure performing a specific function within a cell?

organelle


A structure preforming a specific function within a cell?

organelle


What is the term for a structure having a definite form and performing a definite function or function?

An organ is a structure that has a definite form and performs a definite function or functions within the body.


A structure proforming a specific function within a cell?

That would be an organelle


What is the basic unit of the structure and function within the human body?

the cell


Where is the function of single cell organism performed?

within its internal structure.


Describe the structure and functionof the organ?

All organs have a different structure and function depending on what they are designated to do within the body.