Loops - Hindi
- subtitles off
- captions off
- English
- Hindi
- Questions posted on Forums
- C and Cpp Tutorials - Hindi
-
Matrix
#include <stdio.h>int main(){ int rowCount, columnCount, i, j; int firstMatrix[10][10], secondMatrix[10][10], resultMatrix[10][10]; printf("Number of rows of matrices to be subtracted : "); scanf("%d", &rowCount); printf("Number of columns matrices to be subtracted : "); scanf("%d", &columnCount); printf("Elements of first matrix : \n"); for (i = 0; i < rowCount; i++) for (j = 0; j < columnCount; j++) scanf("%d", &firstMatrix[i][j]); printf("Elements of second matrix : \n"); for (i = 0; i < rowCount; i++) for (j = 0; j < columnCount; j++) scanf("%d", &secondMatrix[i][j]); printf("Difference of entered matrices : \n"); for (i = 0; i < rowCount; i++) { for (j = 0; j < columnCount; j++) { resultMatrix[i][j] = firstMatrix[i][j] - secondMatrix[i][j]; printf("%d\t",resultMatrix[i][j]); } printf("\n"); } return 0;}ByN.L.PoojaEce departmentIRTT
04-05M 50-60S Poojanl
Answer last updated on: Aug. 19, 2024, 3:49 p.m.
-
Loops
Explain about for loop??
01-02M 10-20S Prasanna123
Answer last updated on: April 13, 2017, 9:05 a.m.
-
1First C Program
-
2First Cpp Program
-
3Tokens
-
4Functions
-
5Scope Of Variables
-
6If And Else If statement
-
7Nested If And Switch Statement
-
8Increment And Decrement Operators
-
9Arithmetic Operators
-
10Relational Operators
-
11Logical Operators
-
Loops
-
13Arrays
-
14Working With 2D Arrays
-
15Strings
-
16String Library Functions
-
17Working With Structures
-
18Understanding Pointers
-
19Function Call
-
20File Handling In C
Questions posted on ST Forums:
3240 visits
Outline:
लूप्स -लूप्स -वाइल और डू-वाइल लूप्स के लिए सिंटैक्स -वाइल और डू-वाइल लूप्स की तुलना - फॉर लूप के लिए सिंटैक्स -एरर्स
Width: | 800 | Height: | 640 |
---|---|---|---|
Duration: | 00:11:07 | Size: | 6.9 MB |
Show video info