C_113 Pointer to Structure in C | Structure Pointer | C Language Tutorials

preview_player
Показать описание

Use my code to get 10% discount: JKL10

Verve for GATE 2023 (CS & IT) - Batch B (English)

Connect & Contact Me:

See Complete Playlists:

#structurepointerinC
#PointertoStructurevariable
#CProgrammingTutorialsforbeginners
#jennyslectures
Рекомендации по теме
Комментарии
Автор

I'm truly grateful to you, ma'am. I could feel my inner bulb lighting as you explained these concepts which I couldn't get it when my prof was teaching it. You do an excellent job using so much time on the board to elaborate what it actually means and how things work, before getting into the code. My prof never does this, and I don't do so well in cramming the stuff without a proper explanation of what we're doing. But I feel so well-taught right now from following through your lecture style. It's truly remarkable how you break down things.

MrCEO-jwvm
Автор

Way of explaination is exllect madam even though iam from non-IT
Background I learnt programming language through ur teaching

pavanporika
Автор

Jenny mam is back again let’s rock it using structures 😎

MohammedIbrahim-eumk
Автор

Ma’am, you are not only beautiful but also the best instructor and your voice are cool...Love from Bangladesh

mohadebkumar
Автор

*WHY TO USE POINTER TO STRUCTURES?* - if pointers are used to speed up the program, then why and when should an object be used to access the structure instead?

debojitacharjee
Автор

Hello mam, Good evening, Mam can you plz make a separate videos on c programs ? cover the main programs like abhi mere exams aane wale hai thats why i need this, if possible then please
and yes the way you teach us is just awesome, i thankyou mam for all your efforts .

ishasethi_
Автор

#include <stdio.h>
int main()
{
printf("Excellent explanation mam \n");
printf("Hilghly appreciated your efforts\n");
}

shaikafrid
Автор

im am an architecture students but ever since I saw u now I'm totally into btech

shubhamroy
Автор

Taught very well with practical example.
Keep it up.

arbind
Автор

Voice is very clear otherwise English palle hi nhi padti, nice lecture thank you mam 🙏

parveenbhullar
Автор

Thodi si dikkat lagi thi aapne kha tha ki structure pointer will store the address of s but it stores the address of you can say first member of our structure
Rest your efforts are really nice

nagnarayansingh
Автор

Mam today only I found your channel iam hosteller today new year holiday I came home for me no phone allowed you made my day mam I completed structure union thanks a lot and file concept

Gopi__-
Автор

Struct Student{
int rollno;
char name[20];
float marks;
};

1. int a; -> this is a simple variable not a pointer
2. Struct Student s; -> According to you, this is not a simple variable instead of pointer(internal pointer). Can you prove this point? Is there any reference/book where we can see this statement?

dot(.) and arrow(->) two operator is available which is used to access the Struct types variable.
dot(.) operator is used with simple variable while arrow(->) operator is used with pointer variable.

ex:
Struct Student s1;
Struct Student *s2 = &s1;
Using dot(.)
s1.rollno = 10;
Using arrow(->)
s2->roleno = 10;
If s1 would be pointer(as per you internal pointer), then we can use arrow(->) with s1 as below
s1->rollno = 10; ---- Is this correct?(Since as per rule of pointer, arrow(->) is used with pointer types variable)

Note: A variable declare with prefix with * is only called the pointer variable otherwise it would call as a simple variable instead pointer variable

surjeetmgst
Автор

Hi madam i have loved your teaching skills which is perfect for my mind set and thank you for taking that great initiative of teaching clearly for students like us👏🔥

ManikantaB-fj
Автор

Mam main Ye sb nhi padhta hun but main teaching krta hun 10th ko .Lekin aapka andaz mujhe bahut achaa lga ..so I like your video and also really mam aap bahut cute ho.. mashallah.... And aapka samjhana la tariqa amazing hai mam... thanks mam

mdashfaquealam
Автор

Your teaching method is really amazing
Your leactures really helps me
Love From Pakistan 🇵🇰❤️

azannasir
Автор

#include <stdio.h>
struct student
{
int rollno;
char name[20];
float mark;
};
struct student s;
void main()
{
struct student *ptr = &s;
printf("Enter student details\n");
scanf("%d %s %f", &(*ptr).rollno, (*ptr).name, &ptr->mark);
printf("Roll number is %d\n Name is %s\n Mark is %.2f", ptr->rollno, ptr->name, ptr->mark);
}

_AHMATSENOUSSI
Автор

Nicely explained, but what is the benefit of using pointers to structures.

lucianbetke
Автор

Thank a lot Mam for deeper understanding

lohithakshkuna
Автор

thanks mam for making me understand got it mam

abhaynayak