C_71 Pointers in C - part 1| Introduction to pointers in C | C Programming Tutorials

C_71 Pointers in C - part 1| Introduction to pointers in C | C Programming Tutorials

Jenny's Lectures CS IT

2 года назад

602,205 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@rohitkuma
@rohitkuma - 27.11.2023 16:01

alien concept

Ответить
@chidiebereemereuwa9306
@chidiebereemereuwa9306 - 14.11.2023 03:32

Thanks Jenny!! God Bless you for me. These videos has really been helpful to me.

Ответить
@jellyfish1772
@jellyfish1772 - 06.11.2023 07:47

May God bless you

Ответить
@denzilrhodes507
@denzilrhodes507 - 04.11.2023 14:59

Are pointers a derived datatype? I think they are a special type of variable to hold memory address.

Ответить
@sauravgaming8040
@sauravgaming8040 - 31.10.2023 04:03

Hindi ni aati kya medam ji

Ответить
@ridoybaidya8388
@ridoybaidya8388 - 27.10.2023 17:00

I'm seeing from Bd, those classes very impressive for me. My programming lerning method is going to very easy by those classes.
I'm beginner.

Ответить
@aadilshaikh7886
@aadilshaikh7886 - 27.10.2023 12:11

Right ?

Ответить
@mohinighodake9637
@mohinighodake9637 - 10.10.2023 18:29

I dont understand this topic

Ответить
@sreerock4661
@sreerock4661 - 09.10.2023 17:20

Mam I love you

Ответить
@user-su6gl9cz6z
@user-su6gl9cz6z - 26.09.2023 11:25

float x, y;
int a, *ptr;
ptr = &x; //totally wrong because the pointer points to the integer data type
ptr = &a; //correct, coz a data is integer, and the pointer points to integer

Ответить
@macdaveedgolden7890
@macdaveedgolden7890 - 18.09.2023 09:30

I have searched through the nuke and cranny of this space.. I can boastfully say that your tutorials are magical.. thanks ma’am ❤

Ответить
@user-sj3yn5dz5g
@user-sj3yn5dz5g - 08.09.2023 08:54

float x,y;
int a,*ptr;
ptr=&a;(This is Correct)
ptr=&x;(This is wrong)
Because pointer is addressing the variable which is in integer data type

Ответить
@topinformation-pu7oc
@topinformation-pu7oc - 31.08.2023 18:23

Seriously it's very helpful thanks ❤

Ответить
@ayoubbendouzane
@ayoubbendouzane - 26.08.2023 17:35

no7ibki ya fannana
big love

Ответить
@Mr_Bohara
@Mr_Bohara - 26.08.2023 16:44

Last meh kya bola miss aap neh😅

Ответить
@kwameanati
@kwameanati - 26.08.2023 14:05

*ptr = &x is wrong because of difference in data type.
*ptr = &a is correct because of same data type which is int.

Ответить
@nandishds9596
@nandishds9596 - 22.08.2023 20:52

Jenny lecture >>>>>>>>>>>all college faculties ☠️

Ответить
@HarishHarish-fy3ip
@HarishHarish-fy3ip - 22.08.2023 09:08

Int is 2 bytes isn't it❓

Ответить
@mohan_yerra
@mohan_yerra - 16.08.2023 20:20

ptr=&a is possible

Ответить
@aryansachan5241
@aryansachan5241 - 09.08.2023 21:38

Ma'am aapko dekhe ki board😢

Ответить
@ishukori9574
@ishukori9574 - 08.08.2023 07:29

Languages hindi 😢

Ответить
@mukeshrangdal7696
@mukeshrangdal7696 - 07.08.2023 08:01

wrong

Ответить
@faithfullyfactual
@faithfullyfactual - 07.08.2023 04:36

the first (ptr = &x) would be incorrect because it's assigning ptr ( a pointer to an int type) to a float (x). The second line (ptr - &a) would be correct because ptr is expecting an address of an int type and that's just what it got (a). Am I right?😁

Ответить
@kandanoorimallikarjuna230
@kandanoorimallikarjuna230 - 04.08.2023 12:56

ptr=&x is wrong
ptr=&a is correct

Ответить
@anilchaudhary7969
@anilchaudhary7969 - 01.08.2023 17:56

Ptr=&x // wrong
Ptr=&a // right
Because the data type declare of ptr is int

Ответить
@Logan-ig7sm
@Logan-ig7sm - 29.07.2023 10:13

Mam it pointers are used to store adress if I write something like this
Int a=9;
Int*p;
P=a;
What will be the output I get any error or the any value will be assigned to pointer p?
Can someone help

Ответить
@riya8098
@riya8098 - 28.07.2023 21:23

Thank you so much mam ❤️
Your teaching skills are amazing👏

Ответить
@abdulrahimjalloh363
@abdulrahimjalloh363 - 26.07.2023 20:44

You are the best teacher for programming in the whole world. Thanks for your effort and free gift.

Ответить
@abdulrahimjalloh363
@abdulrahimjalloh363 - 26.07.2023 20:43

Assignment:

float x,y;
int a, *ptr;
ptr=&x;
ptr=&a;

ptr=&x this is wrong, because we did not declare a pointer for variable x, and pointer is not pointing to address whose data type is float.

ptr=&a this is correct, because pointer is declared with a variable whose data type is int. So it is pointing to an address whose varible is int. And pointer is declared in int, a also is int.

Ответить
@abdulrahimjalloh363
@abdulrahimjalloh363 - 26.07.2023 20:38

Thanks mam

Ответить
@NanduriPavan-sg5it
@NanduriPavan-sg5it - 22.07.2023 02:50

It's wrong

Ответить
@playingwithmhdsulu786
@playingwithmhdsulu786 - 20.07.2023 13:06

Simply ❤ declarations ❤

Ответить
@computer__sci
@computer__sci - 12.07.2023 19:17

Pointer and recursion are very easy if you study from good teacher

Ответить
@abdullahkhan-rp1ze
@abdullahkhan-rp1ze - 12.07.2023 05:55

Thanks a lot , a student is taking ur lectures from Pakistan....

Ответить
@seharjawaid2716
@seharjawaid2716 - 09.07.2023 10:40

Float x,y;
Int a,*ptr;
ptr=&x;(not correct)
ptr=&a;(correct)

Ответить
@jagadeeshmandadi5091
@jagadeeshmandadi5091 - 07.07.2023 16:24

No

Ответить
@princephiri1255
@princephiri1255 - 26.06.2023 18:30

they both wrong for two reasons

1 theres no * to make it a pointer

2 theres no data type before each pointer to indicate what data type the pointer is pointing to

Ответить
@sumit108.
@sumit108. - 22.06.2023 16:09

Pov: Legend watching one day before exam.

Ответить
@iitianarjun372
@iitianarjun372 - 11.06.2023 18:04

in the question float x,y;
int a,*ptr;
ptr=&x here x is a float value but the pointer initialised here is for storing address of int type so it is incorrect.
ptr=&a this is correct

Ответить
@lionpande3146
@lionpande3146 - 09.06.2023 19:43

Jenny's Army ❤

Ответить
@visakhs4413
@visakhs4413 - 07.06.2023 17:08

U look stunning 🥰🥰🥰.U stole my heart

Ответить
@jskhan55
@jskhan55 - 05.06.2023 10:26

Pointer me mujhe ek bahut powerful doubt hai jo bahut se log explain nahi karte hai. Kya koi explain kar sakta hai? To me doubt poochu ???? Reply programmers reply !!!!!!!!

Ответить
@rajithagudipati5927
@rajithagudipati5927 - 04.06.2023 16:40

Ptr=&a is correct mam and ptr=&x is not correct because it doesn't intialized

Ответить
@niagarapopo1257
@niagarapopo1257 - 04.06.2023 16:02

Ma'am, isn't 32 bits 4 byte? Isn't size of a pointer 4 bytes or 32 bits? Please respond, I am really confused. 8 bits=1 byte?

Ответить
@bawaabdulsilas3681
@bawaabdulsilas3681 - 03.06.2023 14:11

float = x, y; - is a valid declaration in C.
int a, *ptr; - Is also a valid declaration in C.

ptr = &x - Not valid, because x and ptr are not the same data type (i.e while x was declared using "float" data type, ptr was declared using "int" data type as such, ptr cannot point to x).

ptr = &a - This is valid because both were declared using the same data type which is int. So by implication ptr should be able to store the address of a.

So, at last ptr will contain the address of a, say... 2001.

Ответить
@pardeepff678
@pardeepff678 - 20.05.2023 08:31

Mam thoda Hindi bola kro aap Hindi to bus ek lecture m boli thi jb aapne santre, kinu, banana ko lane ke liye super market Jana pdega tb aapne bs ek bar Hindi boli thi aap Hindi bolte hue bhahut achi lgte ho

Ответить