answersLogoWhite

0


Best Answer

The same as in C, struct.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the name of the structure type in C plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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.


Basic control structure available in c plus plus?

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


What is the name of the C structure type?

The type is struct. The name can be any valid variable name that is not a keyword or other reserved name.


Do I need structure of turbo c plus plus?

Yes.


What are the two ways of initializing a structure variable in c plus plus?

Two ways? There are at least four: 1) Zero the memory allocated to the structure. 2) Shallow-copy the memory from another structure of the same type. 3) Deep-copy the memory from another structure of the same type. 4) Set the individual members.


Defference between c plus plus and c?

these are difference in between c and c++: a) C is a SPL and C++ is a OOP. b) C has not concept of object but C++ has this feature. c) C has not 'class' name data type but C++ has.


What is the price of the book data structure using c and c plus plus by tanenbaum?

225 Rs. after discount........


What is swap in c plus plus programming language?

It is not a reserved word, so can be an identifier (name of a type/variable/function).


What is the main use for type def seems to be defining structures?

When you define a structure, C does not provide a type for that structure. In order to subsequently declare an instance of that structure, you need to use the word struct again. The typedef allows you to declare a type equivalent to the structure. For example... struct person { char* name, int phone}; struct person myperson; With typedef, you can simplify to... typedef struct person { char * name, int phone} person;person myperson; In C++, this is automatic, but not in C.


User defined data type in c plus plus?

Use "typedef" : both in C and C++.


How do you apply if in char type in c plus plus?

char x = "C"; if(char == 'C') { } else { }


How do you do nested strcutres program in c plus plus?

As its name suggests, a nested structure is a structure which contains another within it. Here is an example in which the "nApple" structure is nested withing the "nTree" structure: #includestruct nApple{int stem;int skin;};struct nTree{int leaves;nApple redDelicious;nApple grannySmith;};