C++ & DSA course | Pointers - 2 | Call by reference, Arithmetic and Array as a pointer | Lecture 25
Did you watch the last lecture ? If not, please watch it to have a firm foundation of pointers concept.
In this class, Sanket Sir will teach some important applications of pointers such as calling by reference. He will help you to unlock some more powers of pointers. C++ & DSA course. Curious ? Come, join the class !
If you are facing any trouble accessing the assignment or lesson plan, please re-login to your account on PW Skills website and try.
Are you finding the classes helpful?
Stay tuned for more!
Access the notes and assignments for this class for free at :
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...
00:00 - Introduction
01:38 - Recap
03:35 - Today's Checklist
04:36 - Call-by-reference using pointers
14:41 - Example code
16:53 - For a given string 'aaacad', output the first and last occurence of 'a'
26:07 - Pointer arithmetic
31:48 - Example codes and operations on pointers
01:02:14 - Arrays as pointers
01:27:17 - Summary
▶️ PW Skills Website - pwskills.com
▶️ PW Skills Instagram - / pwcollegewallah
▶️ PW Skills LinkedIn Channel -
▶️ PW Skills Telegram Channel- t.me/SkillsPW
#C++ #DSAFoundation #CollegeWallah #PhysicsWallah #Pointers #PointersArithmetic #Array #Null #Invalid
Пікірлер: 112
Sanket Sir Your teaching style is amazing You teach in a very simple way So, Thank You! I am dependent only on this course so continue this course.
[25].I have seen this lecture today. And you explain any concept in easy language, sir. 15TH April 2024... ❤❤❤❤❤
After witching this lecture i'm playing with arrays and pointer 😂it's too much fun .. 😂 Thanks a lot... Graet work keep it up ... Good wishes fo u and your team.
Excellence Explanation sir No one explained like you even in paid course
Sanket Sir Your teaching style is amazing You teach in a very simple way So, Thank You! I am dependent only on this course so continue this course, Sir I want to daily one lecture
@sanketsingh1094
Жыл бұрын
❤🎉
Mai har lecture ko like karke hi aage barhti hoon, you deserve it sir ❤ itna accha aap parhate hain
Aaj ka session me bahut maza aaya..
Very much helpful lecture❤
a complex topic like this made so simple, thank you so much!!
Aap logo ko certification courses launch karne chaiye jisse hum seekh kar hum apne resume mei show kar paaye 😊😊😊
@cse_454
Жыл бұрын
Jake courses kharid lo pw skill k website mai
@neerajvijay5064
Жыл бұрын
@@cse_454 🙄🙄🙄 aare ye one month pahle kaa message hai and abh inhone certification course laa dia hai maine le lia hai 😊😊😊
@i_want_to_eat_chicken_
2 ай бұрын
Bro... u know where can I get lecture notes??@@neerajvijay5064
@Saira124
29 күн бұрын
@@neerajvijay5064 apni konsa course liya hai? Kindly tell
@Saira124
29 күн бұрын
@@neerajvijay5064 apni konsa course liya hai? Kindly tell
maja aa gya sir amazing style of treaching
@ytuser12178
Жыл бұрын
Bro which year and branch. Btw from iit kgp😅
raghav sir an sanket sir are best teachers
thank you sir this DSA content is every helpfull
Mja aa gya sir ji....What a marvelous teaching style🤩😎❤
and sir please update your playlist
first time i understand pointer properly because of u sir
awesome video lecture sir 🥰🥰🥰🥰🥰🥰🥰😇
hamare collage pointers pr quize tha yar phle pd liya hota tho sare pointers concept vhi he or sir ne bhuth achha smjaya he
Thank you 😊
Thank you❤ finished - 29mar.2023
Given an integer array containing n elements. Find the element in the array for which all the elements to its left are smaller than it and all the elements to the right of it are larger than it. don't understand the solution
sir i want to know about function ptr
@sanketsingh1094 hats off to you 👏...
Nice sir 👍👍 I had clear all my pointer concepts through this lecture sir 🙏🏻
Sir you are best teacher
how are the values of a,p and *p all same? did not understand that
sir if array is pointer then we know that for storing address of a pointer in another pointer we use double pointer so why we are not using double pointer in case of storing address stored in name of array
Sir web development ka course le kr aaye sir 🙏🙏
thank you bahiya wonderful session.
sanlet sir ke shri charno main mera sat sat naman
fabulous explanation:)
@Sanket Singh Sir apne last me jo code samjhaya wo samajh nhi aaya usme *p bhi kaise ek address return kiya wo samajh me nhi aaya.
At 01:25:00, can anyone tell me why program gave adress for '*p' ? Should not it give value 11? Anyone please help me?
@crazyduniya128
Жыл бұрын
*p bucket me arr hai not *arr
@shubhamdhiman3365
Жыл бұрын
Same doubt?
@shubhamdhiman3365
Жыл бұрын
@@crazyduniya128 pls elaborate
@crazyduniya128
Жыл бұрын
@@shubhamdhiman3365 here pointer is pointing to the whole array, not just the first value, so when you dereference p, that is *p , not printing 11. Check if *(*p) works or not?
@shubhamdhiman3365
Жыл бұрын
@@crazyduniya128 Thanks
Sir c++ me dsa ke lactur bhot h but java k dsa bhut hi limited hai and smj m bhi nhi ata h sir plzzzzzzzzzzzzzz java me dsa lao i request you sir plzzz help 🥺
Well explained ❤
sir please increase the frequency of the lectures if possible....
@nikkhilmaurya
Жыл бұрын
Yes (+1)
@ipllive6607
Жыл бұрын
@@nikkhilmaurya no-1
Sir *p karne se to value print hoti he magr ap ne end pe jo code likha is me address q print ho raha he
sir can u please tell ?? linkedlist,stack,queues kb tk aayga?
Thanks uncle
Thank sir 😊
have DSA been started or not?
@Shivam-bz8qy
Жыл бұрын
No
Sir after pointer do problems on strings
Where is the pointers-1 video in the playlist? Please upload all the vdos in correct order, it is creating inconvenience.
I under the pointer concept but i noticed if you don't use the void function the program still swap these values can you tell me how
i have one question about pointer if given a matrix so how we access this matrix to use pointer is it true:- *( *(arrr+i) + j)
sir i am unable to understand pointer pointing to entire array?
Sanket sir op
sir I have a doubt in the last code How *p,p value are same
sir kissi bhi lecture ka note nahi show kar raha hai plz sir note dijiye sir
Sir end pe jo concept dya wo samaj nai aya
Last me jo array type pointer tha wo thoda samajh nahi aaya
DOUBT: In the swapping example, I don't understand how does the swapping take place. We de-reference x,y (ie local scope variables) which shall swap the memory address which these variables/buckets contain. But it accesses the value, which means it somehow got de-referenced twice ?? Can someone please help me out ?
It was helpful video
@sanketsingh1094
Жыл бұрын
🎉
In an array the array name acts as a pointer for the first element of array. Is this valid only for C++ or for any other language?
@sanketsingh1094
Жыл бұрын
C and c++ only Other languages like java dont have pointers
@nikkhilmaurya
Жыл бұрын
@@sanketsingh1094 Sir your teaching style is superb. So, Please don't compromise with content of the video and if possible please upload lectures in every two days(like you were doing before). Thanks.
4:38
how we can get the notes of this course,,,,,plz reply
Sir aapka pointer ka lecture 1 2 3 me pdf nhi khul rha hai please send the pdf immediately
@pwlivestudy4997
Жыл бұрын
Bhai PDF kaha milegi Pw skill app me to ye corsh dikh hi nhi rah Plz bhai notes me problems ho Rakhi hei❤❤
Kuchh notes bhi bnwaya kro sir
Sir pdf
Please web development ka course leke aaiye pls pls pls
Kuch jada hi lengthy video nahi ho gaya bus itna simple topic ke liye
the way you teach programming is amazing much more batter then urviiiiii ma`am ✨✨✨✨✨
lecture to ach tha he ap k face k expresion kmaaaaal thy
bro sounds like ezsnippet
Java ka lecture kab aayega
@carljohnson4592
Жыл бұрын
alternate days
@vivekparde2022
Жыл бұрын
@@carljohnson4592 brother Aaj hi tha vo day
I think that pointer to array need to be elaborated more.... a little bit disappointment here😶
Sir basics kab tak chalega. DSA kab shuru hoga 😀❤️🙏
@Anshnishad6642
Жыл бұрын
Bahut tej ho rahe ho
@earningwithravindra8743
Жыл бұрын
Dekh rho ho vinod
@closetoheart6120
Жыл бұрын
is this dsa course as well ????
@sanketsingh1094
Жыл бұрын
Recursion is going to start immediately after pointers so technically dsa part is gonna start in 2-3 videos
@gulshan07dev
Жыл бұрын
@@sanketsingh1094 thnx sir❤❤,,sir aap ho..?
Agar m KZread pr coding sikhane lagu to kon kon sikhna chahega mujhse??
@Manoj_2426
Жыл бұрын
Bhai mere se Sikh le
@Manoj_2426
Жыл бұрын
Tu
@Shivam-bz8qy
Жыл бұрын
@@Manoj_2426 ha obviously m to sikhunga hi isliye to
@mirzaahteshambaig9197
Жыл бұрын
@@Manoj_2426 🤣
🆓🆓🆓🆓
kon kon boiler plate copy krta hai🤣🤣😡
@AbhishekKumar-lu3lp
Жыл бұрын
Tum kon si class me ho
@gulshan07dev
Жыл бұрын
8th class
@AbhishekKumar-lu3lp
Жыл бұрын
@@gulshan07dev aap abhi se coding kar rahe hai
47:31