answersLogoWhite

0

What is the use of type def in c?

Updated: 8/16/2019
User Avatar

Wiki User

8y ago

Best Answer

A typedef is used to define a type. The clue is in the name: typedef = type definition.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the use of type def in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

what- the circumcenter C of DEF?

The distance from C to the midpoint of each side is the same.


What happened at WWE Capitol Punishment 2011?

Singles Match for the United States Championship: Dolph Ziggler def. Kofi Kingston (c) Singles Match: Alex Riley def. The Miz Singles Match: Alberto Del Rio def. The Big Show Singles Match for the Intercontinental Championship: Ezekiel Jackson def. Wade Barrett (c) Singles Match: CM Punk def. Rey Mysterio Singles Match for the World Heavyweight Championship: Randy Orton (c) def. Christian Singles Match: Evan Bourne def. Jack Swagger Singles Match for the WWE Championship: John Cena (c) def. R-Truth


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.


Who are the winners at WrestleMania 26?

Dark Match Battle Royal- Yosi Tatsu Unified tag team championship--- ShowMiz c. def. R-Truth and John Morrison Rey Mysterio def. C.M. Punk HHH def. Sheamus World Heavyweight Championship- Y2J c. def. Edge WWE Championship--- John Cena Def. c. Batista Jack Swagger wins Money in the Bank- does not cash in. Spoiler Swagger cashes in MITB on smackdown to win World Heavyweight Championship. Undertaker def. Shawn Michaels --- Shawn Michaels retires. Orton def. Legacy


Why to use String in c?

C doesn't have String data-type, so don't use it.


Does dodge Cummins def system affect fuel consumption?

According to what I have been taught (by Chrysler) the use of DEF improves fuel economy over a truck that has a particulate filter without the use of DEF.


What comes before D E F?

A B C


What type of music is def leppard?

Rock n Roll


What were the WWE Great American Bash 2008 results?

Curt Hawkins & Zack Ryder def John Morrison & The Miz (c) Finlay & Hornswoggle Jesse & Festus - Fatal 4 Way Tag Team Match For The WWE Tag Team Championship Shelton Benjamin def Matt Hardy (c) - Single Match For The WWE United States Championship Mark Henry (c) (With Tony Atlas) def Tommy Dreamer (With Colin Delaney) - Single Match For The ECW Championship Chris Jericho def Shawn Michaels - Single Match Michelle Mcool def Natalya - Single Match To Become the inagural Divas Championship CM Punk (c) fought Batista To A Double Disqualification - Single Match For The World Heavyweight Championship JBL def John Cena - N.Y.C. Parking Lot Brawl Triple H (c) def Edge - Single Match For The WWE Championship


User defined data type in c plus plus?

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


If ABC DEF which congruences are true by CPCTC?

if abc=def which congruences are true by cpctc


How can a procedure be defined in C?

ProcedureName (type Arg1, type Arg2, ..., type ArgN) {/* procedure body */return;}Procedure is a Pascal term that means the same a function in C/C++It is better to use the C/C++ terms then there is no confusion.