You are on page 1of 2

04/04/2024, 14:35 Nested Structure in C with Examples - GeeksforGeeks

Please Login To Continue ×

Nested Structure
Sign In in C with Examples Sign Up

Pre-requisite: Structures in C
account_circlestructure in C is a structure within structure. One structure can be
A nested
Username or email

declared inside another structure in the same way structure members are
C Basics lock
Password
C declared Cinside
Data Types C Operators
a structure. C Input and Output C Control Flow C Functions C Arrays CS
Remember me
Syntax: Forgot Password

Sign In
struct name_1
or
{

member1; Google  Facebook
member2;
.  LinkedIn  GitHub

. Why Create an Account?

membern; By creating this account, you agree to our Privacy Policy & Cookie Policy.

We use cookies to ensure you have the best browsing experience on our website. By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Got It !
Policy

https://www.geeksforgeeks.org/nested-structure-in-c-with-examples/ 1/20
04/04/2024, 14:35 Nested Structure in C with Examples - GeeksforGeeks

Student ID : 12
Student Name : Kathy
Please Login To Continue
Student CGPA : 7.800000 ×

Sign In Sign Up
A nested structure will allow the creation of complex data types according
to the requirements of the program.
account_circle
Here's lock
a complete roadmap for you to become a developer: Learn DSA ->
Master Frontend/Backend/Full Stack -> Build Projects -> Keep Applying
Remember me
to Jobs Forgot Password

And why go anywhere else when our DSA to Development: Coding Guide
or
helps you do this in a single program! Apply now to our DSA to

Development Program and our counsellors 
Google will connect with you for further
Facebook
guidance & support.
 LinkedIn  GitHub
Why Create an Account?
Last Updated : 07 Jan, 2022
By creating this account, you agree to our Privacy Policy & Cookie Policy. 11

Previous Next

Linking Files having same variables C Program For Finding The Length Of
with different data types in C Loop In Linked List

Share your thoughts in the comments Add Your Comment

Similar Reads
Nested Loops in C with Examples A nested loop puzzle

C++ |toNested Decision Making in C (if , if..else, Nested


We use cookies ensure Ternary
you have Operator
the best browsing experience on
if,our website.
if-else-if ) By using
our site, you acknowledge that you have read and understood our Cookie Policy & Privacy
Policy

https://www.geeksforgeeks.org/nested-structure-in-c-with-examples/ 16/20

You might also like