Structure Variables | C Programming Tutorial in Nepali #60

preview_player
Показать описание
C Programming Tutorial in Nepali, Part 60: Structure Variables.
Topics Discussed: Introduction to Structures; Defining structures; Declaring structure variables; How are structures allocated and stored in memory?; Arrays inside a structure; String inside a structure; Why are Structures used?

Follow me on:

#CProgramming #BikalpaCodes #BikalpaDhakal
Рекомендации по теме
Комментарии
Автор

#include<stdio.h>
#include<string.h>

struct employee
{
char nam[10];
int id;
};

int main(){
struct employee e;
strcpy(e.nam, "thomas");
e.id = 22;

printf(" name=%s, id=%d", e.nam, e.id);
return 0;
}

jeevanrawal
Автор

I hope this program helpful for my tomorrow presentation ☺️☺️☺️
Thank you 💗 sir for this video

krishachaudhary
Автор

sir make videos about declaration structure programming for new course of class 12

shreekrishnaacharya