Static Variables In C: C Tutorial In Hindi #42

preview_player
Показать описание
In this series of C programming tutorial videos, I have explained you everything you need to know about C language. I hope you are enjoying this C course in Hindi.

Best Hindi Videos For Learning Programming:

Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

C programming ke is course ke end mei konsa project banaye? Any suggestions?

CodeWithHarry
Автор

This Playlist is still the best and will be the best for a Long time!...

RohanSaluja
Автор

In this video
the global variable has declared outside of the main( ) function

mohammedilyazkhan
Автор

Finally the realisation hit me that I should make notes only gonna watch with a note with me from now on. Great work Bhaiyya but HTML parser seems a bit tough for me but I'm trying it anyway.. Also in this I think you didn't go into detail about functions I'm trying to put user defined functions inside another user defined its not going well thx for this free course will spread the word once I finish the course and start to master C this course was the one that finally gave me confidence that I can pick up C lang I have 2 books on C but nothing helped me till I started this course .

ronycb
Автор

very nice, understood for the first time

thorsendh
Автор

this video was a little bit lengthy considering the logic
loved it tho..

amishpratapsingh
Автор

it is very helpful thanks harry bhai..

khushiyoutubechannel
Автор

difference between static global variable & normal global variable in c.
difference between static function & normal function in c?

sachinsinghal
Автор

#include <stdio.h>
int func()
{
static int age=0;
age ++;
printf("The age is %d\n", age);
}
int main(){
printf("At birth:-\n");
func();
printf("After 1 year\n");
func();
printf("After 1 year\n");
func();
}

atifmalik
Автор

Thank you so much sir. very helpful video.
sir meri php ki problem solv nahi karai sir aapne . please help me . sir phele bhi aapse phucha tha maine.
sir php ke problem ye hai ki ek blog post me jb user comment ya like karta hai to with out user ke name and gmail ke like or comment nahi honi chahiye .sir ek blog post ki class karado na sir please help me .

nadirraza
Автор

Sir, Program type karne ke liye logic kaise lagaye?

ruturajgavade
Автор

Can u explain why the function is not returning b1 + myvar ; ? It must return because value of b =344 is passed to b1
And at last of fun1( ) it's written return b1 + myvar. ???

starkendeavours
Автор

In func1 function, what return b1 + myvar does, Harry bhai!?

wasifnadeem
Автор

sir apne bola ki static variables run time se oehle hi memory me store hojaate hein ....
per sir ager koi static variable function ke ander likha ho to vo kyaa tab bhi ?? pehle memory allocate krlege ... bina program us function tak pahoche ??

Quzhisnadja
Автор

Can you explain scope sir .
Please
I am understanding this

architamishra
Автор

When i daclare the static function and putting the value after the declaration it print different
Static int a ;
a = 0 ; then it print same

priyanshuworld
Автор

//here a is local variable of func() so we can not access it in main ()
//now b is global variable as it is declared outside any function we can access it anywhere but it is not proffered because the memory is occupied even if it is not in use
// int c is formal parameter of func and c is actual parameter now if c is declared as global parameter then local value of c is prefferd first and it is print on output
#include <stdio.h>
int b = 10;
int c = 15;
int func(int c){
int a = 4;
printf("%d\n", b);
printf("%d", c);
}
int main() {
int c =3;
//printf("%d", a);
printf("%d\n", b);
func(c);
}

atifmalik
Автор

No one:
Harry Bhai : mujhe ghumao mat XD

Sammy
Автор

Local variable:Sachin kumavat
Global variable: BTS
😅😅 Right sir?
Please reply on it sir
Is it am I right or not....

Rajput-ddfe
Автор

Why B1+myvar is not returning when function is being called?

tapans
visit shbcf.ru