top of page
Blog: Blog2

Struct

  • Writer: Michael Felix
    Michael Felix
  • Dec 18, 2018
  • 1 min read

Struct is a formed data type that contains a collection of variables that are in the same name and are related to one another. In contrast to arrays only in the form of a collection of variables of the same data type, structs can have variables that are of the same or different data types, can even store variables that have the type of data array or struct itself. Variables that are members of a struct are called struct elements.

struct human {  
	char name[100];  
	int age;
        char address;
        char gender;
};  
 
 
 

Recent Posts

See All
IF CONDITON

An if structure is formed from an if statement and is often used to select a single condition. If the selected process is fulfilled or...

 
 
 
POINTER

A pointer is a variable that points to another variable memory address. A pointer does not contain a data value as well as an ordinary...

 
 
 
Array

An array is a collection of data values ​​of the same type in a certain order that uses the same name. According to its dimensions,...

 
 
 

Comments


  • instagram
  • generic-social-link

©2018 by systemnotfound. Proudly created with Wix.com

bottom of page