Тёмный

Arrays in One Shot | C Programming | Lecture 7 

College Wallah
Подписаться 657 тыс.
Просмотров 941 тыс.
50% 1

In this video, Raghav Sir will teach you about 1D ARRAYS in DETAIL. This is Lecture 7 of the C Programming series. Topics covered are - syntax and declaration, output and input, memory allocation, passing Arrays to functions and LOTS of questions. 2D ARRAYS will be covered in the next Lecture in detail, coming SOON.
Are you finding the classes helpful?
Stay tuned for more!
PW Skills is announcing the launch of the following programs,
Binary Batch:- Java-with-DSA-&-System-Design (Java with DSA & System Design)
pwskills.com/course/Java-with... (Hindi)
pwskills.com/course/Java-with... (English)
Sigma Batch:- Full-Stack-Web-Development (MERN Stack)
pwskills.com/course/Full-Stac... (Hindi)
pwskills.com/course/Full-Stac... (English)
Impact Batch:- Data-Science-Masters (Full Stack Data Science)
pwskills.com/course/Data-Scie... (Hindi)
pwskills.com/course/Data-Scie... (English)
Website - pwskills.com/
Instagram - / pwcollegewallah
LinkedIn - / ineuron-ai
/ physicswallah
Telegram - t.me/SkillsPW
Discord - / discord
Twitter - / pw__skills
Access the notes and assignments for this class for free at : ▶️pwskills.com/course/Cracking-...
If you are joining us late, to know more about PWSkills & plans :
Watch the Orientation Video: • C++ DSA and Java DSA -...
Watch the Launch Video: • @CollegeWallahbyPW THI...
TIME STAMPS:
00:00 Introduction
03:34 What is an Array?
08:40 Syntax and Declaration
13:10 Indexing in Arrays
16:08 Accessing Array elements
24:07 Output and Input using LOOPS
38:49 Prob 1 : Given array of marks, print marks less than 35
45:00 Prob 2 : Find the correct declarations
48:47 Prob 3 : Indexing based question
49:39 Memory allocation in Arrays
1:00:48 Prob 4 : Predict the output - 1
1:03:10 Prob 5 : Predict the output - 2
1:07:37 Garbage Values
1:09:04 Prob 6 : Find the error - 1
1:12:13 Prob 7 : Find the error - 2
1:13:17 Prob 8 : Print the sum of elements in given array
1:18:14 HW 1 : Print the product of elements in given array
1:19:11 Prob 9 : Print the maximum element in given array
1:31:26 HW 2 : Print the minimum element in given array
1:31:36 Prob 10 : MCQ - 1
1:33:01 Prob 11 : MCQ - 2
1:34:56 Prob 12 : MCQ - 3
1:35:14 Passing ARRAYS to FUNCTIONS
1:44:36 Prob 13 : State True or False
1:45:47 Prob 14 : Multiply odd indexed elements by 2 and add 10 to the even elements
1:52:38 HW 3 : Print elements greater than x
1:53:59 Prob 15 : Print difference b/w odd indexed and even indexed elements
1:58:12 Prob 16 : Find total number of pairs whose sum add up to x
2:07:07 Prob 17 : Find total number of triplets whose sum add up to x
2:12:50 Prob 18 : Find the second largest element in Array
2:19:28 **Prob 19 : Find second largest element in single pass of array
2:42:15 Prob 20 : WAP to copy elements of array to another array in reverse order
2:46:06 *Prob 21 : Reverse the Array without using extra array
2:53:35 HW 4 : Check if given Array is Palindrome or not
2:54:52 **Prob 22 : Rotate the given Array by ‘k’ steps
3:18:55 Prob 23 : Check if the given element in present in Array or not
3:35:42 HW 5 : Find the missing element in given range
3:39:40 Prob 24 : Find the duplicate element in given array
3:44:15 Prob 25 : Find unique number, where all other elements are duplicate
3:59:30 Comment kardo na fir ki - Maza aa gaya
#CProgramming #RecursionOneShot #CCourse #CompleteCTutorial #ProgrammingBasics #LearnCProgrammingOneShot #CTutorial #PWSkills #Arrays #CollegeWallah #PhysicsWallah

Опубликовано:

 

10 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,1 тыс.   
@CollegeWallahbyPW
@CollegeWallahbyPW Год назад
📗 Enroll Now in Decode Batches and become JOB READY: 📌 Python with DSA: bit.ly/4bXv5xF 📌 Java with DSA: bit.ly/49vEQkZ 📌 C++ with DSA: bit.ly/49NnNKT
@sanketmeshram9971
@sanketmeshram9971 Год назад
Sir java video 3
@iamdoraemon7030
@iamdoraemon7030 Год назад
maja aa gaya❤
@jivan1553
@jivan1553 Год назад
Sir aap c++ bhi padha doo bhott acchha padata ho.👍
@kdpsharma3087
@kdpsharma3087 Год назад
Pdf dijiye
@RenuSharma-kj1sl
@RenuSharma-kj1sl Год назад
Sir PDF
@GrooveMusicc
@GrooveMusicc 7 месяцев назад
TIME STAMPS: 00:00 Introduction 03:34 What is an Array? 08:40 Syntax and Declaration 13:10 Indexing in Arrays 16:08 Accessing Array elements 24:07 Output and Input using LOOPS 38:49 Prob 1 : Given array of marks, print marks less than 35 45:00 Prob 2 : Find the correct declarations 48:47 Prob 3 : Indexing based question 49:39 Memory allocation in Arrays 1:00:48 Prob 4 : Predict the output - 1 1:03:10 Prob 5 : Predict the output - 2 1:07:37 Garbage Values 1:09:04 Prob 6 : Find the error - 1 1:12:13 Prob 7 : Find the error - 2 1:13:17 Prob 8 : Print the sum of elements in given array 1:18:14 HW 1 : Print the product of elements in given array 1:19:11 Prob 9 : Print the maximum element in given array 1:31:26 HW 2 : Print the minimum element in given array 1:31:36 Prob 10 : MCQ - 1 1:33:01 Prob 11 : MCQ - 2 1:34:56 Prob 12 : MCQ - 3 1:35:14 Passing ARRAYS to FUNCTIONS 1:44:36 Prob 13 : State True or False 1:45:47 Prob 14 : Multiply odd indexed elements by 2 and add 10 to the even elements 1:52:38 HW 3 : Print elements greater than x 1:53:59 Prob 15 : Print difference b/w odd indexed and even indexed elements 1:58:12 Prob 16 : Find total number of pairs whose sum add up to x 2:07:07 Prob 17 : Find total number of triplets whose sum add up to x 2:12:50 Prob 18 : Find the second largest element in Array 2:19:28 **Prob 19 : Find second largest element in single pass of array 2:42:15 Prob 20 : WAP to copy elements of array to another array in reverse order 2:46:06 *Prob 21 : Reverse the Array without using extra array 2:53:35 HW 4 : Check if given Array is Palindrome or not 2:54:52 **Prob 22 : Rotate the given Array by ‘k’ steps 3:18:55 Prob 23 : Check if the given element in present in Array or not 3:35:42 HW 5 : Find the missing element in given range 3:39:40 Prob 24 : Find the duplicate element in given array 3:44:15 Prob 25 : Find unique number, where all other elements are duplicate 3:59:30 Comment kardo na fir ki - Maza aa gaya
@motive9789
@motive9789 7 месяцев назад
Thanks ❤
@anubhavverma9166
@anubhavverma9166 7 месяцев назад
Tysm bro 🤝
@vinityadav4118
@vinityadav4118 6 месяцев назад
Thanks bhai
@NishantKumawat-ee7ck
@NishantKumawat-ee7ck 6 месяцев назад
Thanks bhai
@sameerkr3282
@sameerkr3282 2 месяца назад
class notes
@Rahul_Raj__
@Rahul_Raj__ Год назад
1:06:53 Sir, yahan par i ki value starting wali nahi hogi i.e. 1 ..... balki loop 0 se 48 baar chalega aur finally i = 49 par loop exit ho jyega toh lastly i me 49 value assign ho jyegi.... So output par 49 print hoga ❤❤❤
@Dimdum842
@Dimdum842 8 месяцев назад
yes :)
@shaharyarsajawal5619
@shaharyarsajawal5619 7 месяцев назад
YES!
@akashchakraborty2144
@akashchakraborty2144 7 месяцев назад
yessss
@lenwhenji
@lenwhenji 7 месяцев назад
Bilkul 👍
@user-fx4zx4uc4u
@user-fx4zx4uc4u 6 месяцев назад
you are right but can you explain me more. loop 48 times tak kyu chakega jab for loop ke age semicolun hai to use pahaki baar me hi tarminate ho jana chahiye na or last me i ki value 49 kase hui.
@ankanmaity1973
@ankanmaity1973 Год назад
mind blowing...... so detailed lectures, anyone who wants to start his programming journey can definitely start with this c programing lectures...
@MADHUKUMAR-rx2oq
@MADHUKUMAR-rx2oq 7 месяцев назад
bhai notes bana hai tu pin kar do comment me
@binarydecode
@binarydecode 8 месяцев назад
Hands down, One of the best lectures on C, keep it up Maza aa gya
@MudassirHasan-it2yw
@MudassirHasan-it2yw Год назад
Thank u sir , very helpful for 1st year students !!
@basicomathematics
@basicomathematics 7 месяцев назад
at 1:07 the output is provided by you is 0 to the code but it will be 49 int sub[50],i; for(i=0;i
@cpranikerkumar9742
@cpranikerkumar9742 7 месяцев назад
you are right
@mayankkumar4110
@mayankkumar4110 6 месяцев назад
worng there is semicolon so the valu of i =0; if there is no semicolon the i =0 to 48 only
@susmitaghosh6539
@susmitaghosh6539 Месяц назад
Correct... due to loop i will be incremented and terminate at i=49. SO answer will be 49 here
@basicomathematics
@basicomathematics Месяц назад
@@susmitaghosh6539 I was just a noob at that time but actually in c language when the terminator comes after the loop condition the loop breaks and the compiler continues to compile a new line.
@Pretty-Skie
@Pretty-Skie 11 месяцев назад
Thankyou so much for the amazing lecture sir !! I am so grateful to you !! You teach soooo good 😀😀
@akshaykanawade302
@akshaykanawade302 Год назад
I understand coding because of You✨️❤️ thank You sir
@shubhamgolvelker6150
@shubhamgolvelker6150 6 месяцев назад
01:07:36 The o/p will be 49 and not 0 because we have declared variable i in main, not in loop
@gangapurampraneethreddy1356
@gangapurampraneethreddy1356 2 месяца назад
ya
@apnashivamsingh
@apnashivamsingh Год назад
Sir pls provides notes
@clashofclns7639
@clashofclns7639 Год назад
Bhai how can I download notes of this lecture??
@unitedstates5922
@unitedstates5922 Год назад
​@@clashofclns7639Stop asking Questions...
@Tonynch_783_49
@Tonynch_783_49 Год назад
Abe website mein jakar khoj le
@ADITYACHAUHAN00777
@ADITYACHAUHAN00777 11 месяцев назад
​@@Tonynch_783_49kaise Bhai plz reply
@user-is8dj9hn4x
@user-is8dj9hn4x 9 месяцев назад
Pw skills year notes dila dooo
@anshulsharma267
@anshulsharma267 Год назад
Raghav Bhaiya or PW team ka dil se Shukriya...❣️
@rikmishra6743
@rikmishra6743 Год назад
Very nice sir , most detailed lecture I have ever seen.
@nayan_CSE
@nayan_CSE Год назад
49:50 actually memory allocation depends on the architecture of your system.. if you have a 32 bit system then the size will be 2 bytes(integer) and 4 bytes 64 bit system...
@flaminate3700
@flaminate3700 Год назад
It depends on the compiler
@jitendratolani5908
@jitendratolani5908 Год назад
At 3:23:17 why sir had not written &x, &i Pl explain.
@wizard09
@wizard09 6 месяцев назад
​@@jitendratolani5908because he is printing
@adrikagharami003
@adrikagharami003 2 месяца назад
1:28:39 return fn 1:35:10 passing array to function 2:12:55 second largest 2:46:03 pointers
@rohitjain348
@rohitjain348 Год назад
your last question has a minor issue the right code for that question is: int main(){ int arr[7]={1,3,2,6,3,2,4}; for(int i=0;i
@prajapatiraj2352
@prajapatiraj2352 Год назад
Exactly 💯
@Raushan_singh_rajput_
@Raushan_singh_rajput_ Год назад
thanks bro 🙌🙌🙌🙌🙌🙌
@gearup58
@gearup58 Год назад
bro you don't need to put this break if(arr[i]==arr[j]&& i!=j) flag = true; break;
@AlokCodes1
@AlokCodes1 9 месяцев назад
That's what I was searching for. 👍
@rachana4903
@rachana4903 10 дней назад
1,3,6,1,1,2,3 input Jab printf ke baad break remove kar rahi hun to usake baad ka sara element print ho raha... Please tell me the solution
@khushdilansari4506
@khushdilansari4506 Год назад
1:07:35 Output 49
@gurbaniekanand752
@gurbaniekanand752 4 месяца назад
Yes
@VinaySharma-ui8ee
@VinaySharma-ui8ee Год назад
1:03:10 Prob 5 : Predict the output - 2 ----> output for this question will be 49
@CODEWITH_RAHUL
@CODEWITH_RAHUL Год назад
yes the output will be 49
@sadhvivenkatk6499
@sadhvivenkatk6499 Год назад
Same yar 1:12:08 sir ne kha out put will be 1 1 2 2 3 3 . . But it is showing nothing in cmd
@aditisamargade1307
@aditisamargade1307 Год назад
@@CODEWITH_RAHUL but Sir is correct , the output should be 0
@niyatiraj1883
@niyatiraj1883 Год назад
​@@aditisamargade1307 how?? Can you explain ??
@aditisamargade1307
@aditisamargade1307 Год назад
​@@niyatiraj1883 Sir has explained it very well the only problem is compilers are correcting it by removing the semicolon automatically. Otherwise, if you dry run the code u will get output as 1.​
@notvivekkushwaha
@notvivekkushwaha 2 месяца назад
2:48:00 Instead of using function and pointers We can simply program it like this :- for( int i=0; i
@Ganesh.programmer
@Ganesh.programmer 9 месяцев назад
You are great sir❤ Unbelievable teaching 👍 Thank you sir 🙏
@kunalkumar1964
@kunalkumar1964 Год назад
Most awaited lecture 💫
@pandey3277
@pandey3277 11 месяцев назад
i have watched so many c language videos in the internet this is the best and easiest video better than my coaching classes thank you sir ji.
@user-cm6xj1vs3c
@user-cm6xj1vs3c 9 месяцев назад
thank you sir your knowledge and teaching method help to learn coding very much 😇😇💥
@soumyajitdaschakraborty1082
sir please make a video upon DATA STRUCTURE IN C.... it will be very helpful to us...
@ysc_chandan
@ysc_chandan Месяц назад
1:07:23 sir yha pe 49 print hoga kyunki loop 0-48 yani 49 baar chalega or at the end 49 pe jake ruk jayega aur 49 value hi assign ho jayega
@GATEWith_HARIS
@GATEWith_HARIS Год назад
I m so confused why c lang is taught very clearly and with in depth knowledge only in GATE videos why not in placement type videos and I really appreciate the knowledge I get from GATE prep because they teach everything that little in depth concepts help a lot when we sit for coding. By the way you teach great 👏👏🔥
@priyanshuranjan1986
@priyanshuranjan1986 Год назад
Because wo gate ke purpose ke liye bana hai
@GATEWith_HARIS
@GATEWith_HARIS Год назад
@@priyanshuranjan1986 yes but jo bhi ho GATE ke concepts bahut zyada help krte hai coding ke time pe
@jitendratolani5908
@jitendratolani5908 Год назад
At 3:23:17 why sir had not written &x, &i Pl explain.
@nityanandmishra9616
@nityanandmishra9616 10 месяцев назад
@@jitendratolani5908 it will be only written if you take input like as scanf or you are print address....
@victory-path101
@victory-path101 Год назад
Great teacher i truly liked your teaching style
@torishi82
@torishi82 5 месяцев назад
Thank you for the best explanations. Amazing. As a token of my appreciation, I watch full adds (don't skip) and click on links in ads.
@amitgond07
@amitgond07 Год назад
Sir please provide notes for this lecture ❤❤.
@rubelhossainsayed2973
@rubelhossainsayed2973 8 месяцев назад
I am agree to you
@mirzaaltamash710
@mirzaaltamash710 6 месяцев назад
@@rubelhossainsayed2973 yes sir
@arindamdeka8095
@arindamdeka8095 5 месяцев назад
Thank you so much Sir for this amazing lecture on Arrays. Mazza Aa gya 🔥
@thelearner664
@thelearner664 6 месяцев назад
You made my Coding journey awesome sir ji... Thank you so muchh.. Thanks a lot ❤❤❤
@adityasharma-vk8fg
@adityasharma-vk8fg 5 месяцев назад
thankusoo much sir....!!! i think that's the best video i found on internet..!!! You are a very good teacher sir 😊
@sherani77553
@sherani77553 Год назад
Your efforts raghav sir...🙏🙏🙏
@rubelhossainsayed2973
@rubelhossainsayed2973 8 месяцев назад
Who are facing trouble for getting notes?
@shivbhakti3060
@shivbhakti3060 7 месяцев назад
Bro notes mila kahi se
@We.getwholesome
@We.getwholesome 7 месяцев назад
Notes mile to muje batana urgent h
@Prashant_30_
@Prashant_30_ 7 месяцев назад
Me
@shivbhakti3060
@shivbhakti3060 7 месяцев назад
@@Prashant_30_ notes hai tumhare pass
@rishabhraj2435
@rishabhraj2435 7 месяцев назад
C mai kon notes likhta hai
@ankushjha785
@ankushjha785 3 дня назад
1:30:42 ---- mistake --------> int data type ka range -2^31 se (2^31 - 1) hota.
@minhaj2643
@minhaj2643 Год назад
Raghav sir please come and solve our all problems of java🙏🙏🙏
@Reality_444
@Reality_444 6 месяцев назад
sir last question is only applicable for array which u have chose for array{1,1,2,4,2,3,3,} this code is not applicable......
@harshadeepdas7830
@harshadeepdas7830 4 месяца назад
Yeah I noticed that too. In that case, it works if we run the second loop from j=0 (instead of j= i+1) and the " if " condition inside the second loop is put inside the loop if (i != j) {}. Now the code works for any type of array even if the elements are repeated consecutively.
@jee...2023
@jee...2023 27 дней назад
+1​@@harshadeepdas7830
@NirajKumarPandey1234
@NirajKumarPandey1234 10 месяцев назад
[7].I have seen this lecture today.lecture is very interesting. 21st August 2023
@veerkathotia6747
@veerkathotia6747 2 месяца назад
sir you are amazing i was not able to understand anything from my college lectures because i missed few classes in beggining but because of you now I'm able to understand all this
@yuvrajgupta7629
@yuvrajgupta7629 Год назад
Very nice lecture best ever I have seen on arrays
@softmedun6794
@softmedun6794 Год назад
Sir aap hi C++ ka complete course ka playlist banaye n aap bahut achhe padhate hai please sir please 😢😢😢😢
@Rahul_Raj__
@Rahul_Raj__ Год назад
3:48:41 No sir, yaha par thora sa misconception ho gya hai ...... Agar aap wo break keyword waha use karoge toh condition true hone par nearest loop yani sirf inner for loop se exit hoga naaki dono for loop se ..... 🙂
@kaif5987
@kaif5987 10 месяцев назад
Very helpful for me Thank you sir ❤
@physics6056
@physics6056 6 месяцев назад
1 easy logic.... Reverse array printing me last me for loop me i=4 na kr k... Print statement me 4-i kr de to zyada easy rhga...
@ayush8265
@ayush8265 8 месяцев назад
sir last vala question ka code har bar kam nhi karega kyunki agar hum asa example le {1,3,2,1,4,2,3} to kam nhi kar rha apka code . BTW accha padhaya sir apne maja a gya . Thankyou sir
@sujalthakur9124
@sujalthakur9124 Год назад
Sir please give 2d aaray lecture with matrix concepts sorting etc please sir
@user-fz7vu8is4m
@user-fz7vu8is4m 8 месяцев назад
my all concepts and douts are clear for this lecture thanks
@mahekjoshi9959
@mahekjoshi9959 3 месяца назад
I can solve stuffs on my own ! I m proud of this achievement Thanks CW
@softmedun6794
@softmedun6794 Год назад
Sir aap Jaise teacher pura RU-vid per kahin nahin Bahut achha padhate h aap easy language me❤
@aryanrajbhar3807
@aryanrajbhar3807 7 дней назад
Brother notes nhi hai kya
@softmedun6794
@softmedun6794 7 дней назад
@@aryanrajbhar3807 ha
@aliyaafreen6234
@aliyaafreen6234 9 месяцев назад
Thank you sir for such a great lecture this is very helpful for us maza aa gyaa sir 🙌🙌
@marutiiiiiiiiii
@marutiiiiiiiiii 7 месяцев назад
Hey where are you from
@user-gh7ul7xo6y
@user-gh7ul7xo6y 8 месяцев назад
Sir, you are super in c teaching understanding.
@cppaliwal405
@cppaliwal405 26 дней назад
I got Very good understanding just by following you thank you air❤❤
@yashcafe2831
@yashcafe2831 Год назад
Most valuable video on RU-vid ❤️❤️ Mza aa gya sir ❤️ Waiting for more videos eagerly 🤗
@suryanshgupta8269
@suryanshgupta8269 Год назад
bhai iske notes mile kya
@yashcafe2831
@yashcafe2831 Год назад
@@suryanshgupta8269 nhi bro
@jitendratolani5908
@jitendratolani5908 Год назад
At 3:23:17 why sir had not written &x, &i Pl explain.
@triMaruti
@triMaruti Год назад
Keep uploading such one shot videos. These are really very helpful. Thnku so much 💓
@rashidsiddiqui4502
@rashidsiddiqui4502 Год назад
mazaa aa gya sir' thank u sir waiting for much high level questions
@Rahul_Raj__
@Rahul_Raj__ Год назад
3:34:19 No need to declare that idx kyuki "break" statement laga hi hua hai toh "i" ki jo current value hogi wo wohi rhegi.... Update nahi hogi... So don't need of that idx variable.
@eraniket
@eraniket Год назад
Achha hai Class but Bilkul basic hai Thoda Advance Questions prectice karaiye... Like Frequency of Each Element And So.. Extra...
@Anurag-fk3op
@Anurag-fk3op Год назад
Last bale question me agar multiple unique element hoga to break statement nhi lagayenge but uske karan Loop aage chalega aur repeated elements ko bhi unique bata dega kyuki aage repeatation hoga hi nhi.
@alifaisal77616
@alifaisal77616 4 месяца назад
You are right brother He wrote the last code wrong
@Anurag-fk3op
@Anurag-fk3op 4 месяца назад
Bro he literally built up my basic concepts when i started coding. i used to struggle in pattern printing he made me comfortable in it🙌🤩@@alifaisal77616
@pushkarshaw233
@pushkarshaw233 2 месяца назад
Yes last code is wrong
@Rits2005
@Rits2005 6 месяцев назад
hey friends , at around 3:26 min. in this question what if i take arr[7] = {1,2,4,4,4,5,6} now we can print 1st 4 with index and also last 4 with index , but what should we do to print index of middle 4?
@SadaatSiblings
@SadaatSiblings 10 месяцев назад
tower of hanoi me maza aagyaaa... literally BAAP of all lectures on recursion.....
@pranavtiwari8653
@pranavtiwari8653 Год назад
maza aa gaya sir sab kuchh samajh aaya o bhi bahut achhe se ,thank you raghav bhaiya
@vasugupta9953
@vasugupta9953 Год назад
Sir , If there are more than two duplicate elements in an array then what to do ????????
@mq4950
@mq4950 Год назад
1:07 output is 49
@ridhic6373
@ridhic6373 Год назад
i am also getting the output as 49
@ILoveyou-vr3bt
@ILoveyou-vr3bt Год назад
yes 49 is output
@mohitgupta7346
@mohitgupta7346 Год назад
Yupp bruh Ur right 💯
@anuragkushwaha1707
@anuragkushwaha1707 Год назад
Please upload notes of this class.
@Pretty-Skie
@Pretty-Skie 11 месяцев назад
Sir college mein padhaya gaya kuch samajh nahi aata, I just watch your lectures and I am able to perform well in my exam only because of you , Thanks a lot sir🙏🙏
@golu-kk4du
@golu-kk4du 7 месяцев назад
Amazing sir praiseworthy❤❤❤😊
@sundramkumar4871
@sundramkumar4871 Год назад
Sir please provide this class notes 🙏
@meetsvnitcse1191
@meetsvnitcse1191 Год назад
at 02:50:00 can't we use directly printf("%d",arr[6-i]); in for loop, we can easily get it.
@PATTI_2.0
@PATTI_2.0 5 месяцев назад
Int size = ar.size(); is showing error how you have printed that?
@meetsvnitcse1191
@meetsvnitcse1191 5 месяцев назад
@@PATTI_2.0 your code is of python i think. Will give error for c
@ohkay5735
@ohkay5735 5 месяцев назад
1:00:03 Passing elements to arrays 1:33:03
@parthg9828
@parthg9828 7 месяцев назад
1:03:44 there is a mistake even if there is a ; at the end of the for loop the loop will run just the thing is that the loop will not have any body so because the loop will run completely so it it will make the change the value of i from 0 to 48 and at the end of loop the value of will be 49 to break the loop so the final value that will be the output is 49 not 0
@paryulchaudhari4078
@paryulchaudhari4078 9 месяцев назад
from where can I get notes of this lecture?
@mehedihasansiam2234
@mehedihasansiam2234 4 месяца назад
Did you find the notes?
@pratyushtripathi1728
@pratyushtripathi1728 Год назад
Hi sir my first-semester examination is likely to be in March. Please cover all the topics before my exam. sir esh lecture me, Maja aa Gaya👌👌👍
@signalinternet5934
@signalinternet5934 3 месяца назад
bhai sahab I COMPLETED 7 LECTURES, HANDS DOWN THE ONLY BEST LECTURES I HAVE EVER FOUND ON INTERNET
@abhisheksrivastava4236
@abhisheksrivastava4236 28 дней назад
Sir HW question at 1:07:13 dummy for loop -> value of i will be 49 -> answer will be 49.
@lokesh5556
@lokesh5556 Год назад
Sir please share the lecture notes df
@Vijay-em4sz
@Vijay-em4sz Год назад
3:59:02 mazaa agaya sir
@mayankkumar4110
@mayankkumar4110 6 месяцев назад
sir maza aa gya i am a bca 1st year student and i learn the whole c from your videos thanks for your support to bright our future
@Rohitxpool
@Rohitxpool 4 месяца назад
I am also a 1st year BCA student 🙃
@noexcuses5375
@noexcuses5375 Год назад
apke padhane ka andaj bahut bdhiya hai sir apke pdhaya hua sb smjh me aa jata hai
@bhavyagupta18561
@bhavyagupta18561 7 месяцев назад
3:55:57 Hii everyone, I think in this ques. there is a mistake in the code. If you take arr[7]={6,2,6,3,2,4,3} this array than it might not give you the correct answer. So try this code instead: int main() { for(int i=0;i
@user-oj1dj4jx7y
@user-oj1dj4jx7y 7 месяцев назад
Yes, your code is correct. Sir's code doesn't take into consideration that if we check the repeated number again when it is the last one(i.e. no more repition after that) in the array the code will consider it to be unique . Good😊 Just for fun: Another question is to find the frequency of the elements in array without repeating in the output.
@l_narasimha
@l_narasimha 5 месяцев назад
It's won't work..
@sujalsharma487
@sujalsharma487 Год назад
Thank you sir for the video i understood all the concept but the last ques will not pass if there are multiple unique values you can check for the array given below, Please check my code once: here is my code: int arr[10] = {1, 5, 3, 2, 1, 5, 3, 5, 10, 5}; for (int i = 0; i < 10; i++) { bool flag = false; for (int j = 0; j < 10; j++) { if (i != j && arr[i] == arr[j]) { flag = true; } } if (flag == false) { printf("%d is unique ", arr[i]); } } i tested your code with my test case and it did not print the correct values.....please check once
@paurushbhatnagar5905
@paurushbhatnagar5905 8 месяцев назад
Before array, ur teaching method is awesome as you solve each & every question with dry run... But in this array lecture , I don't know why but you look in hurry as you hardly solve any question with dry run which helps us to understand easily.
@lovelife4118
@lovelife4118 3 месяца назад
Hands down, One of the best lectures on C, keep it up Maza aa gya ❤ 😊
@devilshivi3672
@devilshivi3672 Год назад
By the way I am in 10th standard and my exams are to be held soon ..... This video helped me a lot. Thank you so much sir
@aryan-oi3zp
@aryan-oi3zp Год назад
What is connection between 10 and c lang 😂
@03_subhajeetbiswas33
@03_subhajeetbiswas33 Год назад
bro i am in class 2, this video helped me a lot . i can understand ur feelings bro
@educa989
@educa989 Год назад
bro i am in kindergarten and this video really helped me
@Azimuthal-hx7xh
@Azimuthal-hx7xh 9 месяцев назад
​​​@@educa989bro i am in womb and seriously this video helped me alot 😊
@Letslearnwithsamar
@Letslearnwithsamar Год назад
at 1:07:33 the output will be OUTPUT: 49 Because the value of I will still increase as the loop is going on and its value will to 49 when it will come out from the loop
@simanchalagamer4562
@simanchalagamer4562 Год назад
Same Output Is Coming i.e:- 49 Not 0 ,as told in the video. That Is The Confusion???
@akashchandurkar556
@akashchandurkar556 Год назад
But value increases after exicution of code inside the loop so i reams unchanged
@user-xj1jo9ts6d
@user-xj1jo9ts6d Год назад
Excellent lectures.
@aliyanaaz5267
@aliyanaaz5267 10 месяцев назад
Thank you sir for your hard work , the sleepless night for us ...!!
@RenuSharma-kj1sl
@RenuSharma-kj1sl Год назад
Sir PDF dijiye
@kaifkhansahab3077
@kaifkhansahab3077 Год назад
Yes Sir
@Rahul-gm5zi
@Rahul-gm5zi Год назад
Where is pdf
@user-tt9fz6hx9m
@user-tt9fz6hx9m 10 месяцев назад
Thank you so much sir this information is very importanat🎉🎉😢
@mr.engineer7138
@mr.engineer7138 Год назад
Maaza aa gaya Best yt channel in my opinion ❤❤❤❤❤ Sir ap bahot saare questions karaye ho isliye cheeze acche se samajh aa raha hai
@paradoxicalumair9304
@paradoxicalumair9304 9 месяцев назад
Thank you sir from Bangladesh.BIg fan of you.Just awesome class.
@shwetagore1455
@shwetagore1455 10 месяцев назад
Sir it's very helpful I just like your technic of teaching 😊 I'm in 2nd year of engineering. It is the best c language course . Thank you so much sir 😊. It is very easy to understand. Your teaching method is very good . Once again thank you sir ☺️..
@alamgeershekh6262
@alamgeershekh6262 10 месяцев назад
C to 1st year me hai naa? To aap 2nd year me kyu sikh rhe ho?
@patitapabanswain3645
@patitapabanswain3645 Год назад
Thanks for direct me to follow the directions. So that l can able to reach the destination.
@goldiedeepak
@goldiedeepak Год назад
शानदार जबरदस्त जिंदाबाद Maza aa gaya hai sir ☺️🎁👍👍🤟🙏
@tahazulfaquar8253
@tahazulfaquar8253 2 месяца назад
there's a flaw in the last question to print the unique number. Let's take an array={1, 2, 3, 3, 4, 1, 2}, in this case the answer this code would give is 3 as now 3 is the number which does not repeat in the remaining array this would work correctly if we initiate 'j' from 0 and add a condition in the if statement -> if (i != j && arr[i] == arr[j]) this would check for the same elements for the indexes which have been already checked and would return true for them.
@azkaswhisper_4444.
@azkaswhisper_4444. Год назад
excellent effort👏
@user-kp6wz3cg6y
@user-kp6wz3cg6y 9 месяцев назад
sir if we enter two same values which are maximum for example [1,1,0,-1],max and smax both have values 1 only for the question max and second max
@karthikbandi4973
@karthikbandi4973 Год назад
Nice explanation raghav sir... Sir also upload file handling concept in c ...sir
@ramsantoshkarumuri2763
@ramsantoshkarumuri2763 Год назад
Beautiful !
@shivamkumarshivam5977
@shivamkumarshivam5977 3 месяца назад
Bilkul makhan tha sir lecture ka swaad aa gaya....TNKS
@YashAwachat-hd9gf
@YashAwachat-hd9gf Год назад
Sir very best teaching I like it.
Далее
2D Arrays in One Shot | C Programming | Lecture 8
4:21:17
God-Tier Developer Roadmap
16:42
Просмотров 7 млн
C++ Developer Learns Python
9:26
Просмотров 2,7 млн
How I Mastered Data Structures and Algorithms
10:45
Просмотров 45 тыс.
What should an electric car sound like?
5:18
Просмотров 301 тыс.
Why You Shouldn't Nest Your Code
8:30
Просмотров 2,6 млн