Invitation to Attend “Connect, Simulate and Innovate using Arduino on Cloud”, an awareness programme
If you are not an organiser or invigilator of the Subscribed college, please register using this Google form
//Two-dimensional arrays in C#include <stdio.h>int main(){ int i,j; int num1[3][4],num2[3][4]; printf("Enter the elements of 3X4 array num1\n"); for(i=0; i<3; i++) for(j=0; j<4; j++) scanf("%d", &num1[i][j]); printf("Enter the elements of 3X4 array num2\n"); for(i=0; i<3; i++) for(j=0; j<4; j++) scanf("%d", &num2[i][j]); printf("The subtraction of num1 and num2 is\n"); for(i=0; i<3; i++) { for(j=0; j<4; j++) printf("%3d ", (num1[i][j] - num2[i][j])); printf("\n"); } return 0;}Naveen VP
Is is possible for Multidimensional arrays declaration in C++?
550 visits
Outline:2-D Arrays ସହିତ କାର୍ଯ୍ୟ କରିବା -2-D Arrays କ’ଣ -arrays ୍ର ରେଞ୍ଜ୍ -2-D arrays କୁ ଘୋଷିତ କରିବା ପାଇଁ ସିଣ୍ଟାକ୍ସ --ଉଦାହରଣ: data type array_name[row][column]; -2-D arrays ର initialization ପାଇଁ ସିଣ୍ଟାକ୍ସ --ଉଦାହରଣ: data type array_name[row][column]= row-val,col-val
2-D Arrays ସହିତ କାର୍ଯ୍ୟ କରିବା -2-D Arrays କ’ଣ -arrays ୍ର ରେଞ୍ଜ୍ -2-D arrays କୁ ଘୋଷିତ କରିବା ପାଇଁ ସିଣ୍ଟାକ୍ସ --ଉଦାହରଣ: data type array_name[row][column]; -2-D arrays ର initialization ପାଇଁ ସିଣ୍ଟାକ୍ସ --ଉଦାହରଣ: data type array_name[row][column]= row-val,col-val
Show video info
Pre-requisite