{"id":2768,"date":"2021-08-20T06:00:00","date_gmt":"2021-08-20T00:30:00","guid":{"rendered":"https:\/\/selfimagination.in\/tips\/?p=2768"},"modified":"2022-02-23T15:43:53","modified_gmt":"2022-02-23T10:13:53","slug":"c-array-declaration-initialization-set-get-2d","status":"publish","type":"post","link":"https:\/\/selfimagination.in\/tips\/c-array-declaration-initialization-set-get-2d\/","title":{"rendered":"C Array (Declaration \/ Initialization \/ Set \/ Get \/ 2D Array)"},"content":{"rendered":"\n<p>\u091c\u092c \u0939\u092e\u0947\u0902 \u090f\u0915 \u0939\u0940 \u092a\u094d\u0930\u0915\u093e\u0930 \u0915\u0947 Data Type \u092e\u0947\u0902 \u090f\u0915 \u0938\u0947 \u091c\u094d\u092f\u093e\u0926\u093e Data Variable \u0915\u094b Store \u0915\u0930\u0928\u093e \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u0924\u092c \u0939\u092e Array \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u092f\u0939 \u090f\u0915 homogeneous \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u0964 \u092f\u093e\u0928\u093f \u0915\u0940 \u090f\u0915 \u0939\u0940 \u092a\u094d\u0930\u0915\u093e\u0930 \u0915\u0947 \u090f\u0915 \u0938\u0947 \u0905\u0927\u093f\u0915 \u0921\u093e\u091f\u093e \u0915\u094b Store \u0915\u0930\u0924\u093e \u0939\u0948\u0902 \u0964 \u0906\u0907\u090f C Array \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947 \u0938\u092e\u091d\u0924\u0947 \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<p>\u0907\u0938 \u0906\u0930\u094d\u091f\u093f\u0915\u0932 \u092e\u0947 \u0939\u092e \u0915\u093f\u0938\u0940 \u092d\u0940 Array \u0915\u0940 Declare \u0915\u0948\u0938\u0947 \u0915\u0930\u0924\u0947 \u0939\u0948?, Declare \u0915\u0930\u0928\u0947 \u0915\u0947 \u092c\u093e\u0926 \u091c\u094b \u0938\u092c\u0938\u0947 \u092a\u0939\u0932\u0947 Value Set \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u092f\u093e\u0928\u093f \u0915\u0940 Initialize \u0915\u0948\u0938\u0947 \u0915\u0930\u0924\u0947 \u0939\u0948\u0902? , Type of Initialization \u092f\u093e\u0928\u093f \u0915\u0940 \u0915\u093e\u092e \u0915\u093f\u0924\u0928\u0940 \u0924\u0930\u0939 \u0938\u0947 Initialize \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0964 \u0914\u0930 Array \u0938\u0947 value \u0915\u0948\u0938\u0947 Get \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 , \u0938\u093e\u0925 \u092e\u0947 Loop \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930 \u0915\u0948\u0938\u0947 \u0939\u092e \u090f\u0915 \u0938\u093e\u0925 Array \u0915\u0947 Element \u092a\u0930 Value Set \u0915\u0930\u0928\u093e \u0914\u0930 Element \u0938\u0947 Value Get \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 , \u0906\u0907\u090f \u0939\u092e \u090f\u0915 \u090f\u0915 \u0915\u0930 \u0938\u092d\u0940 points \u0938\u092e\u091d\u0924\u0947 \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Why we Use Array ?<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Reduce Line of Code :<\/strong> Array \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930 \u0939\u092e Coding Syntax \u0915\u094b \u0915\u092e \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0964 \u0939\u092e \u090f\u0915 \u091c\u0948\u0938\u0947 Syntax \u0915\u094b Loop \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930 \u090f\u0915 \u0939\u0940 \u092c\u093e\u0930 \u0932\u093f\u0916 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0964 <\/li><li><strong>Easy to Understand :<\/strong> Code \u091b\u094b\u091f\u093e \u0939\u094b\u0928\u0947 \u0915\u0947 \u0915\u093e\u0930\u0923 \u0938\u092e\u091d\u0928\u0947 \u092e\u0947 \u092d\u0940 \u0906\u0938\u093e\u0928 \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u0964 <\/li><li><strong>Store More than One Same Data Type Values :<\/strong> Array \u0915\u0947 \u0909\u092a\u092f\u094b\u0917 \u0938\u0947 \u0939\u092e \u090f\u0915 \u0939\u0940 Variable \u092e\u0947 \u090f\u0915 \u0938\u0947 \u0905\u0927\u093f\u0915 \u090f\u0915 \u0939\u0940 \u091c\u0948\u0938\u0947 Data Type \u0915\u0940 value store \u0915\u0930 \u092a\u093e\u0924\u0947 \u0939\u0948\u0902 \u0964 <\/li><\/ul>\n\n\n\n<p>\u0907\u0938\u0932\u093f\u090f \u0939\u0948\u0902 \u0905\u0932\u0917 \u0905\u0932\u0917 \u0935\u0947\u0930\u0940\u0905\u092c\u0932 \u0915\u0947 \u0938\u094d\u0925\u093e\u0928 \u092a\u0930 Array \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u0964  <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">How to Declaration of Array<\/h2>\n\n\n\n<p>\u0938\u092c\u0938\u0947 \u092a\u0939\u0932\u0947 \u0939\u092e\u0947 \u091c\u093f\u0938 \u092d\u0940 Data Type \u0938\u0947 \u0938\u0902\u092c\u0902\u0927\u093f\u0924 array \u092c\u0928\u093e\u0928\u093e \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u0909\u0938\u0947 Declare \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 , \u092f\u093e\u0928\u093f \u0915\u0940 \u0939\u092e \u092c\u094b\u0932 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0915\u0940 \u0939\u092e Operating System \u0938\u0947 Permission \u0932\u0947 \u0930\u0939\u0947 \u0939\u0948\u0902 \u0915\u0940 \u0939\u092e\u0947 RAM \u092e\u0947 \u0926\u0940 \u0917\u0908 Size Allocate \u0915\u0930\u0947 \u0924\u093e\u0915\u093f \u0939\u092e \u0909\u0938 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930 \u0909\u0938 \u092a\u0930 value \u0915\u094b Store \u0915\u0930 \u0938\u0915\u0947 \u0964 <\/p>\n\n\n\n<p>[Data Type] [Identifier] [Size];<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"cpp\" class=\"language-cpp\">int MyArray[10];<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>DataType :<\/strong> \u092f\u0939\u093e\u0901 \u092a\u0930 int Data Type \u0939\u0948\u0902 \u0964<\/li><li><strong>Size :<\/strong> \u092f\u0939 \u092a\u0930 \u0939\u092e\u0928\u0947 Size \u092e\u0947\u0902 10 \u0932\u093f\u092f\u093e \u0939\u0948\u0902 \u092f\u093e\u0928\u093f \u0915\u0940 \u0939\u092e 0 \u0938\u0947 \u0932\u0947\u0915\u0930 9 \u0924\u0915 \u0905\u0932\u0917 \u0905\u0932\u0917 Index \u092a\u0930 Value Store \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0964<\/li><li><strong>Identifier :<\/strong> \u092f\u0939\u093e\u0901 \u092a\u0930 MyArray Identifier \u0939\u0948\u0902 \u0915\u094d\u092f\u0941\u0915\u0940 \u092f\u0939 \u0928\u093e\u092e \u0939\u092e \u0905\u092a\u0928\u0947 \u0905\u0928\u0941\u0938\u093e\u0930 \u0930\u0916 \u0930\u0939\u0947 \u0939\u0948\u0902 \u0964<\/li><\/ul>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\">\u091c\u092c \u092d\u0940 \u0915\u093f\u0938\u0940 Identifier \u0915\u0947 \u0928\u093e\u092e \u0915\u0947 \u092c\u093e\u0926 \u0906\u092a\u0915\u094b Square Braces [ ] \u0926\u093f\u0916\u093e\u0908 \u0926\u0947 \u0924\u094b \u0906\u092a \u0938\u092e\u091d \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0915\u0940 \u092f\u0939 \u090f\u0915 Array \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">How to Initialization of C Array<\/h2>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\">\u091c\u092c \u0915\u092d\u0940 \u092d\u0940 \u0939\u092e\u0947\u0902 Array \u092e\u0947\u0902 \u092a\u0939\u0932\u0940 \u092c\u093e\u0930 \u0915\u094b\u0908 Value Set \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u0924\u094b \u0909\u0938\u0947 Initialization \u0915\u0939\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902 \u0964<\/p>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\">1. <strong>Explicit Initialization &#8211; \u091c\u092c \u0939\u092e Array Declare \u0915\u0930\u0924\u0947 \u0938\u092e\u092f \u0939\u0940 \u092f\u0926\u093f Value \u092d\u0940 Set \u0915\u0930 \u0926\u0947 \u0924\u094b \u0909\u0938\u0947 Explicit Initialization \u0915\u0939\u0924\u0947 \u0939\u0948\u0902 \u0964<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"cpp\" class=\"language-cpp\">\nint MyArray[4] = {5,7,9,10};   \nint MyArray[] = {5,7,9,10,9};  \/\/ Automatic Size Declare is 5<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>\u092a\u0939\u0932\u0947 \u0935\u093e\u0932\u0947 \u092e\u0947\u0902 \u0939\u092e\u0928\u0947 Array \u0915\u0947 \u0938\u093e\u0907\u091c \u0915\u094b 4 \u0915\u093f\u092f\u093e \u0939\u0948\u0902 \u092f\u093e\u0928\u093f \u0915\u0947 \u091c\u094b \u0939\u092e\u0928\u0947 Curly braces \u092e\u0947\u0902 \u0932\u093f\u0916\u093e \u0939\u0948\u0902 \u0935\u0939 \u0938\u092d\u0940 \u0935\u0948\u0932\u094d\u092f\u0942 0 \u0938\u0947 \u0932\u0947 \u0915\u0930 3 index \u092a\u0930 store \u0939\u094b \u091c\u093e\u090f\u0917\u0940 \u0964<\/li><li>\u0926\u0942\u0938\u0930\u0947 \u0935\u093e\u0932\u0930\u0947 \u092e\u0947\u0902 \u0939\u092e\u0947\u0902 Array \u0915\u093e size \u0928\u0939\u0940\u0902 \u0926\u093f\u092f\u093e \u0939\u0948\u0902 \u092f\u0939\u093e\u0901 \u092a\u0930 \u091c\u093f\u0924\u0928\u0940 \u0935\u0948\u0932\u094d\u092f\u0942 \u0906\u092a Curly Braces \u092e\u0947\u0902 \u0926\u0947\u0902\u0917\u0947 \u0909\u0928\u0915\u0947 \u0905\u0928\u0941\u0938\u093e\u0930 \u0935\u0939 \u0916\u0941\u0926 \u0939\u0940 size Define \u0915\u0930\u0947 \u0932\u0947\u0917\u093e \u0964<\/li><\/ul>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\"><strong>2.<\/strong> <strong>Implicit Initialization &#8211; \u091c\u092c \u0939\u092e Array \u092e\u0947\u0902 \u0905\u0932\u0917 \u0938\u0947 \u0935\u0948\u0932\u094d\u092f\u0942 Set \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u0924\u094b \u0909\u0938\u0947 implicit Initialization \u0915\u0939\u0924\u0947 \u0939\u0948\u0902 \u0964<\/strong>  <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"cpp\" class=\"language-cpp\">    MyArray[0] = 5;\n    MyArray[1] = 7;\n    MyArray[2] = 9;\n    MyArray[3] = 10;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\">\u092f\u0939\u093e\u0901 \u092a\u0930 \u0939\u092e\u0928\u0947 Variable Declare \u0915\u0930\u0928\u0947 \u0915\u0947 \u092c\u093e\u0926 \u0909\u0938\u092e\u0947 Value Initialize \u0915\u0940 \u0939\u0948\u0902 \u0964<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0939\u092e\u093e\u0930\u0947 \u0905\u0928\u094d\u092f ARTICLE<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-aggregate-function-in-hindi\/\">MySQL Aggregate Function<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-stored-procedure\/\">MySQL Stored Procedures<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-trigger\/\">MySQL Trigger (Before\/After)<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/php-validation-filter-var-preg_match\/\">PHP Form Validations, Required, Filter<\/a>&nbsp;<\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/dbcmd\/\">PHP MySQL Connection<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/php-dropdown-from-mysql\/\">Dropdown Retrieve from MySQL&nbsp;<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/learn-c-basic-n-advance\/\">Learn C (Single Page Summary)<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/arduino-guide-2021-hindi\/\">Arduino Guide 2021 (Hindi)<\/a><\/li><li><a href=\"https:\/\/blog.learncomputer.selfimagination.in\/2020\/10\/keyboard-shortcut.html\">\u0915\u0940\u092c\u094b\u0930\u094d\u0921 \u0936\u0949\u0930\u094d\u091f\u0915\u091f\u094d\u0938<\/a><\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">How to Get Value from C Array <\/h2>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\">\u091c\u092c \u092d\u0940 \u0939\u092e\u0947\u0902 Array \u092e\u0947\u0902 \u0938\u0947 Value Get \u0915\u0930\u0928\u093e \u0939\u094b \u0924\u094b \u0939\u092e \u0907\u0938 \u0924\u0930\u0939 \u0938\u0947 \u0932\u093f\u0916 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0964<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"cpp\" class=\"language-cpp\">\n    int i;\n    i =  MyArray[2];<\/code><\/pre>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\">\u092f\u0939\u093e\u0901 \u092a\u0930 \u0939\u092e\u0947\u0902 Array \u0915\u0947 Index number 2 \u0938\u0947 Value \u0915\u094b Read \u0915\u093f\u092f\u093e \u0939\u0948\u0902 \u0964<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">How to Set\/Get Value in Array Using Loop<\/h2>\n\n\n\n<p>\u091c\u092c \u092d\u0940 \u0939\u092e Loop \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930 Array \u092e\u0947 Value Set \/Get \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 , \u0924\u094b Coding \u091b\u094b\u091f\u0940 \u0939\u094b \u091c\u093e\u0924\u0940 \u0939\u0948 \u0913\u0930 \u0938\u092e\u091d\u0928\u0947 \u092e\u0947 \u092d\u0940 \u0906\u0938\u093e\u0928 \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"cpp\" class=\"language-cpp\">int MyArray[5];\n\nfor (int i=0; i&lt;5; i++)\n{\n\n     MyArray[i] = i + 1 ;        \/*Set Value to Array*\/\n\n     printf(\"%d\\n\", MyArray[i]); \/*Get Value from Array*\/\n}\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>\u0907\u0938 Program \u092e\u0947\u0902 \u0939\u092e\u0928\u0947 Array \u092e\u0947\u0902 1 \u0938\u0947 \u0932\u0947\u0915\u0930 5 \u0924\u0915 \u0915\u0940 Value store \u0915\u0940 \u0939\u0948\u0902 \u092f\u0939\u093e\u0901 \u092a\u0930 i \u092e\u0947\u0902 0 \u0938\u0947 4 \u0924\u0915 \u0915\u0940 \u0935\u0948\u0932\u094d\u092f\u0942 \u0939\u094b\u0917\u0940 \u091c\u094b \u0915\u0940 \u0939\u092e\u0928\u0947 +1 \u0915\u0930 \u0909\u092a\u092f\u094b\u0917 \u092e\u0947\u0902 \u0932\u0940 \u0939\u0948\u0902 \u0964<\/li><li>\u0909\u092a\u0930\u094b\u0915\u094d\u0924 \u092a\u094d\u0930\u094b\u0917\u094d\u0930\u093e\u092e \u092e\u0947\u0902 \u0939\u092e\u0928\u0947 Array \u092e\u0947\u0902 Value \u0915\u094b Set \u0915\u0930\u0928\u093e \u0914\u0930 Array \u0938\u0947 Value \u0915\u094b Get \u0915\u0930\u0928\u0947 \u0915\u0947 Logic \u092c\u0924\u093e\u092f\u0947 \u0939\u0948\u0902 \u0964<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\"><a href=\"https:\/\/youtu.be\/QDF9fHv7b_s\" target=\"_blank\" rel=\"noopener\">\u0935\u0940\u0921\u093f\u092f\u094b \u0915\u0947 \u092e\u093e\u0927\u094d\u092f\u092e \u0938\u0947 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0926\u0947\u0916\u0947 <\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Two Dimensional Array (2D)<\/h2>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\">\u091c\u092c \u0939\u092e\u0947\u0902 \u090f\u0915 \u0910\u0930\u0947 \u0915\u0940 \u0935\u0948\u0932\u094d\u092f\u0942 \u092a\u0930 \u092d\u0940 \u090f\u0915 array \u092c\u0928\u093e\u0928\u093e \u0939\u094b \u0924\u092c \u0939\u092e Two Dimension Array \u092c\u0928\u093e \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 , \u0906\u0907\u092f\u0947 \u0907\u0938 Example \u0938\u0947 \u0938\u092e\u091d\u0924\u0947 \u0939\u0948\u0902 \u0964<\/p>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\">\u0939\u092e\u0928\u0947 \u092f\u0939\u093e\u0901 \u092a\u0930 \u090f\u0915 Two Dimension Array \u092c\u0928\u093e\u092f\u093e \u0939\u0948\u0902 \u0914\u0930 i \u0914\u0930 j \u0915\u0947 \u0932\u0942\u092a \u0938\u0947 \u0909\u0938\u092e\u0947 1 \u0938\u0947 \u0932\u0947\u0915\u0930 25 \u0924\u0915 \u0915\u0940 \u0935\u0948\u0932\u094d\u092f\u0942 \u0915\u094b Store \u0915\u093f\u092f\u093e \u0939\u0948 \u0914\u0930 \u092c\u093e\u0926 \u092e\u0947\u0902 \u092a\u094d\u0930\u093f\u0902\u091f \u0915\u093f\u092f\u093e \u0939\u0948\u0902 \u0964<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"cpp\" class=\"language-cpp\">   int MyArray2D[5][5];\n\n    int cnt = 1;\n    \/\/For Set Value on 2 Dimension Array\n    for (int i=0; i&lt;5; i++)\n    {\n        for (int j=0; j&lt;5; j++)\n        {\n                MyArray2D[i][j] = cnt ;\n                cnt ++;\n        }\n    }\n\n    \/\/For Print Value From 2 Dimension Array\n    for (int i=0; i&lt;5; i++)\n    {\n        for (int j=0; j&lt;5; j++)\n        {\n                printf(\"%d\\t\", MyArray2D[i][j]);\n        }\n        printf(\"\\n\");\n    }<\/code><\/pre>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\">\\t : \u0915\u093e number \u0915\u0947 \u092c\u093f\u091a \u092e\u0947\u0902 Gap \u0926\u0947\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0909\u092a\u092f\u094b\u0917 \u0915\u093f\u092f\u093e \u0939\u0948\u0902 \\n: \u0915\u093e \u0909\u092a\u092f\u094b\u0917 One Dimension array End \u0939\u094b\u0924\u0947 \u0939\u0940 New Line \u0938\u0947\u091f \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u093f\u092f\u093e \u0939\u0948\u0902 \u0964<\/p>\n\n\n\n<pre title=\"Output\" class=\"wp-block-code\"><code lang=\"cpp\" class=\"language-cpp\">1       2       3       4       5 \n6       7       8       9       10\n11      12      13      14      15\n16      17      18      19      20\n21      22      23      24      25<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u0906\u092a\u0915\u094b \u092f\u0939 C Array Article \u0915\u0948\u0938\u093e \u0932\u0917\u093e \u0939\u092e\u0947 \u091c\u0930\u0942\u0930 \u092c\u0924\u093e\u092f\u0947, <\/p>\n\n\n\n<p>\u0905\u092a\u0928\u093e \u0915\u0940\u092e\u0924\u0940 \u0938\u092e\u092f \u0926\u0947\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0927\u0928\u094d\u092f\u0935\u093e\u0926 \u0964<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u091c\u092c \u0939\u092e\u0947\u0902 \u090f\u0915 \u0939\u0940 \u092a\u094d\u0930\u0915\u093e\u0930 \u0915\u0947 Data Type \u092e\u0947\u0902 \u090f\u0915 \u0938\u0947 \u091c\u094d\u092f\u093e\u0926\u093e Data Variable \u0915\u094b Store \u0915\u0930\u0928\u093e \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u0924\u092c \u0939\u092e Array \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u092f\u0939 \u090f\u0915 homogeneous \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u0964 \u092f\u093e\u0928\u093f \u0915\u0940 \u090f\u0915 \u0939\u0940 \u092a\u094d\u0930\u0915\u093e\u0930 \u0915\u0947 \u090f\u0915 \u0938\u0947 \u0905\u0927\u093f\u0915 \u0921\u093e\u091f\u093e \u0915\u094b Store \u0915\u0930\u0924\u093e \u0939\u0948\u0902 \u0964 \u0906\u0907\u090f C Array \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947 \u0938\u092e\u091d\u0924\u0947 \u0939\u0948\u0902 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2943,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-2768","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/08\/c-array-2d.jpg?fit=1200%2C628&ssl=1","_links":{"self":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/2768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/comments?post=2768"}],"version-history":[{"count":69,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/2768\/revisions"}],"predecessor-version":[{"id":7703,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/2768\/revisions\/7703"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/media\/2943"}],"wp:attachment":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/media?parent=2768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/categories?post=2768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/tags?post=2768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}