Skip to content

It is possible to create nested structures using fiddle #12

@anquegi

Description

@anquegi

It seems that fiddle, can make structs of simple c types but not nesting structures, exists a way of doing so? how can I express this structure in c:

struct student_college_detail
{
    int college_id;
    char college_name[50];
};
 
struct student_detail 
{
    int id;
    char name[20];
    float percentage;
    // structure within structure
    struct student_college_detail clg_data;
}stu_data;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions