🔥 Featured Topic
Array ( C Language )
by
mi1an
-
Array :
Collection of related data items for share the same name and
same datatype but store different value.
Syntax : Datatype Arrayname [Size];
e.g. int
a[5];
Array Has THREE Type :
·
ONE Dimensional
·
TWO Dimensional
·
MULTI Dimensional
Code :
#include <stdio.h>
main
()
{
int i;
int num[5] = {10,20,30,40,50};
for (i=0; i<=4; i++)
{
printf ("Value at %d is %d \n ",
i, num [i] );
}
}
OUTPUT :
- Get link
- X
- Other Apps
Popular Posts
Design resources for developers
by
mi1an
-
Document Table of Contents UI Graphics Fonts Colors Icons Logos Favicons Icon Fonts Stock Photos Stock Videos Stock Music & Sound Effects Vectors & Clipart Product & Image Mockups HTML & CSS Templates CSS Frameworks CSS Methodologies CSS Animations Javascript Animations UI Components & Kits React UI Libraries Vue UI Libraries Angular UI Libraries Svelte UI Libraries R...
Operator in SQL?
by
mi1an
-
Database Model ( DBMS )
by
mi1an
-
Database Models · A data model is a collection of logical constructs used to represent data structure and relationship within the database. · A database model is used to represent the data into the database. · Database models are given as below: (1) Hierarchical Model · It organizes data in an upside-down tree structure. · There is a hierarchy of parent and child data segments. · It uses Parent Child Relationships. · Here root node is called parent node and root segment is called child node. · The parent can have none, one or more child nodes but child nodes can not have the multiple parent node. · That’s why it represents data into one-to-many relationship between two entities. Advantages : (1) Provide data sharing, data security and data integrity. (2) Parent/child relationship provides data simplicity. (3) Provide efficient 1-M relationship. Dis...

Comments
Post a Comment