answersLogoWhite

0

You declare a structure as follows:

struct name {

typename_1 member_name_1; typename_2 member_name_2;

// additional members...

};

User Avatar

Wiki User

8y ago

What else can I help you with?

Related Questions

C program for comparison of dates using structures?

C program for comparison of dates using structures


What has the author Thomas Plum written?

Thomas Plum has written: 'Learning to program in C' 'Efficient C' 'Reliable data structures in C' -- subject(s): C (Computer program language), Data structures (Computer science)


Where is the global declaration section of a c plus plus program?

Anything declared outside of a function is global.


What has the author M Main written?

M. Main has written: 'Data structures & other objects using C++' -- subject(s): C++ (Computer program language), Data structures (Computer science), Object-oriented programming (Computer science) 'Data structures and other objects using Java' -- subject(s): Java (Computer program language), Data structures (Computer science) 'Data structures & other objects using C++' -- subject(s): C++ (Computer program language), Data structures (Computer science), Object-oriented programming (Computer science)


What has the author Yedidyah Langsam written?

Yedidyah Langsam has written: 'Data structures using Cand C[plus plus]' -- subject(s): C (Computer program language), Data structures (Computer science)


Why are all Header Files not declared in every C Program?

We only include the headers we actually use. It would be impractical to include every single header in every single program.


What is main function used in c?

if you do not used main function in c program when errors are accrued


What is the compiler that is used in C?

A program that translates source program into object code.


What is the Simple definition of power in c basic program?

A mathematical function declared in math.h: double pow (double b, double q);


What type of a program is used in order to enter c source code?

What type of a program is used in order to enter C source code


What has the author Larry R Nyhoff written?

Larry R. Nyhoff has written: 'Instructor's manual containing lecture notes, transparency masters, and sample test questions and answers' 'Problem solving with Fortran 77' -- subject(s): FORTRAN 77 (Computer program language) 'ADTs, data structures, and problem solving with C++' -- subject(s): C++ (Computer program language), Data structures (Computer science) 'Data structures and program design in Pascal' -- subject(s): Pascal (Computer program language), Data structures (Computer science) 'Programming in C++ for engineering and science' -- subject(s): TECHNOLOGY & ENGINEERING / Electrical, C++ (Computer program language), Data processing, COMPUTERS / Programming Languages / General, Science, MATHEMATICS / General, Engineering 'ADTs, Data Structures, and Problem Solving with C++ (2nd Edition) (Alan R. Apt Books)'


Write a program in FORTRAN C language to compute control ratios used in budgeting with reference to any organization?

if u give control ratios used in budgeting i can write program in C/C++