Комментарии:
alien concept
ОтветитьThanks Jenny!! God Bless you for me. These videos has really been helpful to me.
ОтветитьMay God bless you
ОтветитьAre pointers a derived datatype? I think they are a special type of variable to hold memory address.
ОтветитьHindi ni aati kya medam ji
Ответить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.
Right ?
ОтветитьI dont understand this topic
ОтветитьMam I love you
Ответить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
I have searched through the nuke and cranny of this space.. I can boastfully say that your tutorials are magical.. thanks ma’am ❤
Ответить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
Seriously it's very helpful thanks ❤
Ответитьno7ibki ya fannana
big love
Last meh kya bola miss aap neh😅
Ответить*ptr = &x is wrong because of difference in data type.
*ptr = &a is correct because of same data type which is int.
Jenny lecture >>>>>>>>>>>all college faculties ☠️
ОтветитьInt is 2 bytes isn't it❓
Ответитьptr=&a is possible
ОтветитьMa'am aapko dekhe ki board😢
ОтветитьLanguages hindi 😢
Ответитьwrong
Ответить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?😁
Ответитьptr=&x is wrong
ptr=&a is correct
Ptr=&x // wrong
Ptr=&a // right
Because the data type declare of ptr is int
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
Thank you so much mam ❤️
Your teaching skills are amazing👏
You are the best teacher for programming in the whole world. Thanks for your effort and free gift.
Ответить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.
Thanks mam
ОтветитьIt's wrong
ОтветитьSimply ❤ declarations ❤
ОтветитьPointer and recursion are very easy if you study from good teacher
ОтветитьThanks a lot , a student is taking ur lectures from Pakistan....
ОтветитьFloat x,y;
Int a,*ptr;
ptr=&x;(not correct)
ptr=&a;(correct)
No
Ответить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
Pov: Legend watching one day before exam.
Ответить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
Jenny's Army ❤
ОтветитьU look stunning 🥰🥰🥰.U stole my heart
Ответить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 !!!!!!!!
ОтветитьPtr=&a is correct mam and ptr=&x is not correct because it doesn't intialized
Ответить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?
Ответить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.
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
Ответить