C_73 Pointers in C- part 3 | Pointer Assignment
Вставка
- Опубліковано 10 сер 2021
- In this lecture we will discuss how to assign a value of pointer to another pointer.
Best C Programming Tutorials: • Programming in C
*********************************************
Connect & Contact Me:
Jenny's Lecture Hindi: / @jennyslectureshindi
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/profile/Jayanti...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
Telegram Group Link: Jenny's Lectures
telegram.me/jennyslectures
*******************************************
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...
Tags:
pointers in c, what is pointer, introduction to pointers in c
#coding #strings #jennyslectures #cprogramming #clanguage
Hope a good teacher like u comes in our college tooo😢
On behalf of all cse students..
Thanks a lot ma'am... ❤️
02:14 video starts
Tq
it's been 2 years now an this playlist with all the videos including this one, and this is litterlarly a life saver, it's a clue that your method of learning is awesome thanx a lot it's 2024 and i watch this to learn the things that the teacher in college didn't said. Thank you again ma'am i appreciate your effort :)
Thinking about your videos and when I opened UA-cam you was right there at first 🥇
Thank you ma'am for your best information about pointer in C. Because I have some doubts in pointers.
One of the best explaination for pointers
On behalf of all royal mechanical students..
Thanks a lot ma'am....❤❤❤❤
i'm so grateful for that i found your channel
tysm mam
Mam literally I am addicted to your voice
Thanks mam I understand very well
Your teaching is very nice 👌👌
And congratulations for completing 513k subscriber 🎉
mam waited for pointers for a long time thanks for start uploading mam!!.please post all videos as soon as possible mam.please try to upload 2 videos per day mam.Thank you mam.
Ma'am
C_72 pointers part3 video is not there in play list ma'am
Mam if we take p=q it is giving output 10 1 1 ...can you explain please
thank you mam ,its more helpful for the in my life
you teaching is just bomb🎇🎇🎇
Bonding signature is correct.,
It is an example of algorithm coding.
It will take any adress in this program right
At 12.55, in code blocks it is running not showing any error.
Mam at time line 10:59 the error you got regarding execution of program....while using turbo c++ no error is encountered and it's output is also coming....
Which app ur using to code in your computer...or any c compiler is good means suggest
Part 2 of pointers concept is not uploaded?
Great presentation
maam where is c-72 part-2 of pointer lecture in this series
thanks mam u r the angel for c
Thanks for your efforts mam
Nandri mam... Luv from TAMILNADU 😍
Thank you so much Mam 🙏
I think it gives same error like when you forget & in scanf for variable, accessing some memory which isn't allowed, illegal acess
Mam after first paid subscription we can see any lectures, are those available?
thanks,you are the best .
Please 🙏 🙏 🙏 madam after complete c programming we need GTK+ FOR C PROGRAMMING 🙏 😢
Mam I am a student of fybca in ahmednagar maharastra
You have made this chp very simple and easy
So, Thank you very much mam🙇🙇🙇🙏🙏🙏
Why do we use pointers? although it is slower ?
Reviewing pointers for Data Structers lesson, i learned more than i knew thanks (bu hoca bir müthiş dostum 5.11.2022)
Ma'am please make video on calloc malloc and relloc
Mam, I think the q pointer is given with double** to get value 10
How can I enrolled
Nice presentation
Simple pointer to ma'am you made a hauaa👻
but good way to understand
Respected madam,
Give me your website please🙏
Mam I have tried *q=*p without initializing q=&b in online c compiler.It is printing 10 for a,*p,*q mam.
mee to
Mam c shikhne me kitna din lag jaye ga minimum aapke lecture se 🙏🙏🙏🙏🙏
just a confusion on how you use printf to access your answers, what is the difference between printf and cout?
Yo that's cpp
Jenny Addict😍😍😍😍vijisekar from chennai
Thanks a lot Mam for this lecture!!!
Thank you mam.😍
Thank you very much madam
I'm from 12 commerce but I'm watching because of you🥺
#include
int main()
{
int a=10,b=11;
int *p,*q;
p=&a;
*q=*p;
printf("a=%d %d %d", a,*p,*q);
}
output is coming as:
a=10 10 10 // without initializing q
No it's not giving output
@@ashasaini1082in my laptop it's giving 10 10 10
Thank you so much mam
Please if anyone could explain to me:
I don't understand why there was an error after (*q = *p)?
aren't they the same datatype? they're variable of pointer referring to an int value? And above this line we declared q already? (int *q)? So why (*q = *p) caused an error?
you are crt.Same doubt I too have.
Because haven't given any value to which q can point and that is why it's not possible to override the value at *q
first thing is that it is not giving error.😉
Thankyou Mam
Thanks 🧬
Thanks mam
*WHAT WILL HAPPEN IF WE ASSIGN A POINTER ADDRESS TO A POINTER* i am talking about this expression - > q = &p;
but ma'am ,my laptop is showing this output, not comes any error but why??
#include
int main()
{
int a=10,b=5;
int *p,*q;
p=&a;
*q=*p;
printf("%d\t%d\t%d\t",a,*p,*q);
return 0;
}
PS C:\Users\ASUS\OneDrive\Desktop\Anupam C Programming> gcc pointer.c
PS C:\Users\ASUS\OneDrive\Desktop\Anupam C Programming> .\a.exe
10 10 10
q = &b;
Bro, you should have to include this line then only it will be executed correctly.
mam can I get pointers topic part 2😟😟
You don't take a q -adresso b,
This is totally wrong programs ( but it is not an error)
Printf result is not founding in this programs right
To day you looking so bonding composition
I think you forgot to upload pointer second lecture 🤔🤔
Printf statement is correct you given,
But p &q address is not correct you taken why mean you didn't give a algorithm code to P&q adress,
Thants the finnally required,
take care maam ☺☺
👍
Pointers part 2 Missing Mam 🙄
What is benifit of pointer
Pointer reduce storage space and complexity of the program also reduce execution time
iam getting the output without intializing q in *q=*p .
code
int a=10,b=11,*p=&a,*q;
*q=*p;
printf("a=%d
%d
%d
", a,*p,*q);
output:
a=10
10
10
Astric q=astric p which means the value at address q is 10 only is there any mistake mam from myside
hey! I did the program on my computer .the value of q is also 10 as the value at p i.e 10 is assigned to the value of q.
*q=*p;
Segmentation fault : 11
Ya aya hai ma'am
First of all you have to observe algorithm coding o1 is not transfer to a given statements a b, available statements pand q right
It is transfer the program is ❌
Mam
P = &a;
*q= *p;
Is not giving me warning
Even I didn't initialize q
🔥🔥
❤️
How one can know the address of a variable..??
suppose i have
int a=10, b=5;
int *p, *q;
p = &a;
q = &b;
printf("the address of a is %x",p);
NOTE : IT GIVES THE OUTPUT IN HEXADECIMAL
if you want it in decimal just use %d instead of %x
Thanks for replying bro that was the time when I was noob
@@Madmaxkkb what are you doing now bro? Can you suggest me anything??
@@akashmourya8502 bro currently I am doing btech in electronics and communication engineering as we have a subject in 1st year called c programming where we need to learn the basics of a programming language but after completion of that subject now I have 0 interest in coding I left coding, I know that coding is important in electronics but I know the basics and that's I think enough
9:17 mow this workswithout any warning.
Mam what is ur age 😅
Make python tutorial
Sorry to say this p-address of q is not given taken so this is first mistake you have to taken madam zi,
I am your guide.
#include
int main(){
int a=10,b=11,*p,*q,*r;
p=&a;
*r=*p;
printf("%d %d
",*r,*p);
q=&a;
printf("%d %d",*q,a);
}
This gives output 10 10 10 10
#include
int main(){
int a=10,b=11,*p,*q,*r;
p=&a;
*r=*p;
printf("%d %d
",*r,*p);
q=&b;
printf("%d %d",*q,b);
}
Here there is no output. Can anyone reply please. This would help me alot :)
yav hocam siz mükemmelsiniz ya keşke türkçe olsaydı ama
are kehana kya chahate ho
Bu aksanla bile anlayabiliyorsan(k) Türkçe olmasa da olur her türlü İngilizce kaynaktan dinleyebilirsin :D harbiden müthiş bir hoca
C_72 pointers part 2 :- ua-cam.com/video/qqRUp28pPFk/v-deo.html
mam at 11:17 i'm not getting any error
void main(){ int a=12,b=51;
int *p,*q;
p=&a;
*q=*p;
printf("a=%d %d %d",a,*p ,*q); }
i'm getting my output as a= 12 12 12
Without algorithm coding is given P&Q statements,
You don't right a int character,
So possible is one thing,
It is imagination thinking,
P&q are examples I think,
Should right this program without getc and scanf function may it will possible,
Think made big........ /
Well respected giving this Operchunity to explain this,
🐒
6:02 it doesn't giving any error i try it ,done successfully
#include
int main()
{
int a=10;
int*p;
int*q;
p=&a;
*q=*p;
printf("output
%d%d",*q);
return 0;
}
yes
#include
int main() {
int a=10,b=5;
int *p,*q;
q=&b;
p=&a;
*p=*q;
printf("a=%d %d %d
",a,*p,*q);
return 0;
}
Result : a=5 5 5. Why so? Shouldn't 'a' be 10 here?
Yes same problem for me also
Because operater work from right to left
, See your program *q = what 5 right, so *q value store in *p ,*q is replaced the value of *p from privious one
@@AdityaRaj-vz4kt right but not right to left, even check from left to right and always give last value.
Thank you mam
02:14 video starts
♥️