C_54 Two Dimensional(2D) Arrays in C | Initialization of 2D Arrays
Вставка
- Опубліковано 3 жов 2024
- In this lecture we will learn:
How to initialize 2D Arrays in C
C Programming Tutorials playlist: • Programming in C
*********************************************
Connect & Contact Me:
Jenny's Lecture Hindi: / @jennyslectureshindi
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
*******************************************
More Playlists:
Programming in C Tutorials: • Programming in C
C++ Tutorials for beginners: • Lec 1: How to Install ...
Printing Pattern in C: • Printing Pattern Progr...
Best Python Tutorials for Beginners: • Python - Basic to Advance
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Design and Analysis of Algorithms(DAA): • Design and Analysis of...
Dynamic Programming: • Dynamic Programming
Operating Systems tutorials: // • Operating Systems
DBMS Tutorials: • DBMS (Database Managem...
#cprogramming #coding #codingexercises #program #clanguage #jennyslectures #arraysinc
Unlucky that I found this channel after my graduation but luckily I found it.
You truly care about your students. You’re making a huge impact. Thanks JK 👨🏻💻
US moment 😪
1st array 1D: 1 1 1
2nd array 2D : 1 1 1
2 0 0
But ig 2nd array would give error , won't it ??
@@harshavardhan891 i think so
1st array ka
111
000 ayega na?
@@harshavardhan891 how so?
@@varadharlikar nhi kyuki 2nd row to initialize hi nahi he
You're best teacher!
I understand C programming only when YOU teach..thank you so very much for this🙏❤
absolutly
Beauty with brain. . 😍😊😊😊 i am enjoying and understanding very clearly ....😍😍😍
int a[ ][3] = {1,1,1};
that is a 1 dimensional array
row 0 : 1,1,1
------------------------------------------------
int a[ ][3] = {1,1,1,2};
that is a 2 dimentional array
row 0 : 1 1 1
row 1 : 2 0 0
in fist program i am getting 1,garbage,garbage as output in 2nd row ..why??
False
@@herohera3497 becaz if u can't assign the values to row 2 it will give garbage value.
00:01 Initialization of 2D array in C
02:03 Initialization of 2D arrays in C
04:19 Two methods for initializing 2D arrays in C: using braces or matrix form.
06:35 2D arrays in C can be initialized row by row
08:55 Initialization of 2D Arrays in C
11:14 Initialization of 2D Arrays in C
13:28 Nested loops are used to initialize 2D arrays.
15:40 Initializing a 2D array at runtime using nested loops
Crafted by Merlin AI.
Thank you mam aapki vaja se hi muje 2-D array declaration vagere kaa explanation Dena tha Meri mam ke saamne aur Mai aapki ki video dekhke Gaya tha aur mast pura present Kiya. Thanks mam
Best Teacher Ever.God Bless you Mam
I love this lady, she's really the Best. Thank you Ma'am
In case 1 it's 1d array
And in second case it's 2d array
2 d array values are
R1. 111
R2. 200
Yes second row will automatically form. R2
Answer is true but it is not 1d array it is 2d array with no 2nd row
@@Pradeep-ko3jy IT IS 1D ARRAY ONLY. IF THERE'S ONLY ONE ROW WITH MULTIPLE COLUMNS IT IS CALLED 1D ARRAY.
I love you mam ❤❤❤❤❤
You explained it amazing
I clearly understand this concept.
Thank you very much. You are a genius.
Mam, I really addicted to your channel. ❤️❤️❤️ Keep make such videos to inspire us .
lecture starts at 1:47
Thanku
Pahle kyu nhi btaya maine Puri dekh li shit yaar,😅😅
Do you need handwritten notes of mam every lecture?
Yes for sure
Yup
yessss
yes
Yess
Mam tum hi to c language k top ho aurhamare hope ho
Iam a bsc student thank for your lectures mam❤️
Mam Me and my all colleague are following ur videos series since starting and our placement is very near so pls complete the DBMS course for we all....this will definitely help us a lots
Yes mam please😭
Yes mam please😭
Yes mam please 🙏🙏🙏🙏🙏
Are you placed now ?
Your eyes make me understand easily..
in both cases 1D array
1 1 1,becz row size is not initialized, so in both cases row size is taken as 1 by default
Can you please give code for this?
Hi mam, I tried all the ways of compile time initialization, it works. thanks mam
Beautifully explained 🥰
mam u are a great teacher.🤩🤩🤩🤩
Thank you mam for explaining it simply and in detail.
jenny mam literally deserve lots of likes ❤
Thank you mam very nice gide & very nice best initialization two dimensional arrays teaching information video.👍
11:56 it will be initialization like
1,1,1
It will give an error because,u didn't mension row size,by default it take row size as 1
U are given 3 coloumn's ..it means it can store only 1,1,1
fall in love with your learning mam.really amazing section
App konsa year me ho abhi
thank you for this amazing lecture mam
Mam please do remove dublicate elements and print unique elements in array..
Mam plz try to provide 2 classes daily
how to find the gratest number in array (1d) and 2(d)
love u mam😘😘😘😘
Good explanation mam🙏🙏
1st case = 1d arrays ;
2nd case = 2d arrays
Mam your lecture is too good♥️♥️
Mam please complete full c language within 1 month by doing videos daily..
Please mam.
You are the best teacher in the world . 😁🙏🏻😂😁😭
Your eyes got my heart❤
10:12 if you will not initialise size it doesn't gives error, but how will you print the values of complete array using for loop.
Mam is there any difference between structured programming and procedural programming or both are alternate names of each other? And please make a video lecture on programming paradigms please.
thankyou maam
Next level teaching mam❤
Thank you mam ❤
Superb ✨verry helpful ✨
If we take an array and intialise it and give it some elements, it should take rest as 0 according to you but in VSC it's assigning an random garbage value.
Thank you mam
1D array: 111
2D array: 111
200 aka, {1,1,1},{2,0,0}
Mam you haven't discussed functions in C yet...
Complete DBMS series placements are coming😭
Yeah,in you tube their so many c playlist,but dbms video's are not their properly in you tube,in this tuff time,we need a great professor like u,ma'am please make it consist
Love from India
Bhai apni insta id dedo
Mam pls pls complete DBMS playlist mam and OS too mam pls mam
@@alostsoul9594 I would suggest you to watch gate cse amit khurana lectures, he didnt digitalize his lectures but he teaches so deeply, after watching many UA-cam channels finally , I found him teaching so good so go through once if possible
Dbms mtlb kya hota h bhaiya ??
Abhi mene start hi kru h coding sikhana
Mam you are great👍👏👍👍👍👍
Thanks .
1:47 Lecture Started
Tanxx mam
mam u have said 1112
in that case the answer is like this
{111},
{200};
can we use ++i and ++j instead of using i++ and j++ for the loop variable update expression?
Yes of course
yes ...you can
you are so good mam
Nice mam👍👍
Mam ur lectures awesome 👏❤️
Hi mam you are so beautiful ♥️♥️ and gorgeous your voice is very good and you teaching the chapters is excellent and thank you for teaching
take care maam have a great day
10:24 mins
the first assignment one dimensioanal array
the second assignment two dimensional array
11:33 row 1
I have sought for data structures and algorithms course I saw your video lecture in the playlist . is your lectures are sufficient for GATE exam aur not please reply ma'am 😐😕😑😢😒
Mam pahali salary ap ko de de to bhi kam hoga . Sb samajh aa jata hai .❤. Me Aryan pandey 😊
1st 1D 2nd 2D 3rd may be zero or garbage value.
Mam. C language class continue rakheiye..
13:40 why you are i
😑mujhe mera answer mil gya so sorry
Madam please upload bitmasking in c
good mam why you not in our college for c language I am from Andhra pradesh
int a[ ][3]={1,1,1,2};
Then it will initialize as
C1 C2 C3
R1 1 1 1
R2. 2 0 0
but here how would u know that rows are 2 only
@@rajaswadoijad243 Here though I have given column value 3. But I have initialized 4 values.. 3 values out of 4 will go to 1st row..remaining 1 value will go directly to 2nd row..now 1 value in 2nd row is filled..but 2 values are to be filled right, there will be 0 directly filled..After that there is no need to proceed because it has already filled in the initialized values
At 5:59 *scary hands*🙄
😂
Output nahi print kiya mam.half portion hi understand huva please printf output also.
Mam could you also teach us DSA using java, it will be very helpful
After long 😘🥰
data will be initialised 111 in row 0 and 200 in row 1
can we do this with the help of macros??
App kitna year ka ho
int size only 2 right but u told 4
Mam for a[ ] [3]={1,1,1};
111
for a[ ][3]={1,1,1,2}
111
200
aap ke pass c ka paid courses he ???
I don't know ma'am
Can any one tell me that why we need two loop on 14:00 ?
Bcoz one loop for rows and another loop for columns...
❤❤❤❤❤❤❤❤❤❤❤❤❤❤
i am dull in c program can u give imp question for 1 st 5 unit
I love u mama
mam but link for carnival festival is closed how we will join it
Mam I want output as : 1 2 3 4 5
10 9 8 7 6
11 12 13 14 15
20 19 18 17 16
21 22 23 24 25
[5][5] matrix mam
Please give notes madam.we can't write notes speedily
You can pause the Vedio and you can write the notes🙂
@@sudha7524 r u making notes like this as u said ??
@Ansh Raj yes i making notes like as I said 😌
Akka problem su madi
Mam you are so beautiful
Answer is assignment is 111
200
U looking beautiful ❤️❤️❤️
10:34 doubt
First comment ❤❤
❤🙏
Ma'am I focus on video not comment
a[][3]={1, 1,1 } for this ans is 1 1 1 and a[][3]={1, 1,1,2} for this ans is 1st row is 1 1 1 . 2nd row is 2,0,0 . Mam plz tell the ans is correct Or not.!
👍🏼🙏
Madam.. Tell Me loops Madam
R1 111
R2 200
Please🙏🙏🙏
Married?