All credits go to you sir. Now I undetstood how the logic works. Thank you very much sir
@thebudkellyfiles6 жыл бұрын
Been working on this and this vid helped me get it. You always come through. Thanks!
@sundeepsaradhi6 жыл бұрын
Thank you for following my sessions.
@binayakpurohit4 жыл бұрын
Second loop should be j
@NSamuel100002 жыл бұрын
Why loop j ALWAYS start for 1 each iteration
@NSamuel100002 жыл бұрын
Explain to me please !help me!
@NSamuel100002 жыл бұрын
I am confused
@ashuashwini20354 жыл бұрын
That's not j
@amarjeetbhatia65084 жыл бұрын
That's already shown in video man
@gkguru68304 жыл бұрын
yes sir initially mentioned is exactly correct. j
@kalyanachakravarthi27364 жыл бұрын
@@gkguru6830 we need include 'i' too in the body function, that's why we need to include only one closing bracket after count++, am I right?
@Harshitha-hi1uj Жыл бұрын
Your teaching is so good sir. I thank you so much for teaching so well. Please make many more videos sir, that helps a lot.
@martinsin97754 жыл бұрын
Great! Tones of detail!! Super!!
@pindisrinivas11572 жыл бұрын
thank you so much sir,we want more examples expecting from you sir....thanks for your dedication ..😍
@aiswarya34616 жыл бұрын
Thank You Sir for kindling the interest in me towards programming !!!
@sundeepsaradhi6 жыл бұрын
Hi aiswarya Thanks for your interest towards our channel and share my sessions with your friends and keep following our channel and don't forget to subscribe to our channel.
@krishnareddykrishnareddy30766 жыл бұрын
Thank you sir Continue sir... Your explanation is very good 👌👌👌👌
@manojmovieinfo68383 жыл бұрын
Superr sir simple solution it helps me a lot
@vinayakpomendkar89482 жыл бұрын
Very helpful sirji please share more videos to us thanks
@bimalmurali27814 жыл бұрын
Very helpful. Explained to the deep of the program...
@You-ec2pi Жыл бұрын
Thankyou so much sir, you are the best.I like the way you are teaching it"s help us a lot. Can you please make the video on github.....please sir
@volkangundogdu10084 жыл бұрын
super sweat and dedicated way of teaching !
@701jyothiswaruban73 жыл бұрын
superb explanation, thanks sir
@yeddulalokesh75002 жыл бұрын
Thank you So much , it is helpful for me.
@prashanthagurla33763 жыл бұрын
In j loop j
@dharanisana14835 жыл бұрын
Thank u so much sir....ur way of explanation is crystal clear...keep doing videos like this
@vishakhasharma93856 жыл бұрын
Thanku so much . Such a lucid explanation😊👍
@sundeepsaradhi6 жыл бұрын
hi vishakha thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@arjun93534 жыл бұрын
Thanks alot sir......hope further videos in future would be usefull ..
@aniketpandey20075 жыл бұрын
Although this problem can be solved in lesser space complexity, I must remark very well explained sir!!
@sridharreddy48683 жыл бұрын
Sir you are explaining is very good but what you are explianed program just compile it sir once
@siva-vw8us6 жыл бұрын
Thank you sir,and you have to explain more programs
@sundeepsaradhi6 жыл бұрын
hi sivaleela thanks for watching my sessions and sure i will do more videos on programs.
@chipora36783 жыл бұрын
int flag = 0; should be declared inside first for loop to get the output as shown in above example!
@fashion25085 жыл бұрын
nice explanations
@sundeepsaradhi5 жыл бұрын
Hi Thank you for your support towards our channel share our channel with your friends and keep following our channel.
@brundashekar84606 жыл бұрын
Nice explanation sir
@sundeepsaradhi6 жыл бұрын
Hi brunda Thanks for your interest towards our channel and share my sessions with your friends and keep following our channel and don't forget to subscribe to our channel.
@akhilkumarbaratam33356 жыл бұрын
tq u so much . Such a lucid explanation
@dhruvsy73705 жыл бұрын
Thank you sir for this video Plzz make such more
@sangeeth8105 жыл бұрын
Good wayy of teaching
@jasdeepkaur17814 жыл бұрын
Hey!!! Can uh please explain it by using function 🙄🙄
@chinthasharada5703 жыл бұрын
J‹=i...is the correct
@gousiyashaik56654 жыл бұрын
Thank you sir
@ramyagudivaka49446 жыл бұрын
In the given series 1,2,1,3,2,5,3,7,5,11,8,13.......odd terms form fibinocci series and Even terms form prime numbers.please tell me the program to generate nth term
@bijayalaxmipatra29743 жыл бұрын
Sir jayganath,,, sir you have to put in inner loop j
@sanjaybliospartan23176 жыл бұрын
Awesome!!!
@narpathrajpurohit99156 жыл бұрын
Sir u forget about the prime number intervals
@ragavipandi96985 жыл бұрын
Super Sir😎😎😎
@Nithin_13672 жыл бұрын
Why we are taking flag=0 in inner for loop.
@Butterfly-oy5tr3 жыл бұрын
Sir.. Flag is a just variable..I'm right.. We can right any name to replace flag
@sundeepsaradhi3 жыл бұрын
Yes you can give any name
@mohammedakhil10 Жыл бұрын
What is flag and what is counter?
@kutumbakavarsha67166 жыл бұрын
Thank you very much sir
@editionpick77172 жыл бұрын
Sir there is mistake ...we can't initialize the flag value in int main ....the program will not executed....we have to initialize like that Int i,j,Flag; for(i=1;i
@editionpick77172 жыл бұрын
So sir please make video with execution of program in computer
@ELInventors2 жыл бұрын
Thanks mahn
@gandheyadagiri80392 жыл бұрын
sir program is comig error at for statement
@virangabandara6744 жыл бұрын
Thnq sir 🔥🔥
@ritintiwari97884 жыл бұрын
Hii sir I don't understand the flag=0 as i am watching your video since starting and is not discussed in any video so its a humble request to make video on this and i don't understand the output 1%1=0 so value flag=0 so please clarify this dout
@sundeepsaradhi4 жыл бұрын
Flag is similar to variable
@ommsairam4181 Жыл бұрын
🙏🙏🙏🙏🙏❤️❤️❤️❤️❤️
@gangadhargangadhar13813 жыл бұрын
Didn't understand clear ga cheppandhi
@n.sarath45052 жыл бұрын
How add sum of the prime Numbers?can u tell me sir.
@devivaraprasad15074 жыл бұрын
sir what if we want know given number is a prime number ??
@manmohanpatnaik95576 жыл бұрын
8.45 j>=i is correct...Not j
@amarjeetbhatia65084 жыл бұрын
You are wrong man it is j
@AyanKumarManna6 жыл бұрын
You don't need to run j upto n.. You need to run j upto sqrt(i).
@aarulive32133 жыл бұрын
How to find largest 9 digit prime number in c program
@anuragyadav86347 жыл бұрын
sir plz make video on function and plz hurry up sir
@sundeepsaradhi7 жыл бұрын
hi anurag definitely and before i have to complete strings concept. Immediately after Strings i will upload functions.
@anuragyadav86347 жыл бұрын
Tnq sir your teaching method is very good bu you should upload more video on main of c like as function,array,pointers
@sundeepsaradhi7 жыл бұрын
hi anurag and thanks for your interest towards our channel and i am uploading videos in an order till now i have covered upto one dimensional arrays and definitely i will upload the remaining soon.
@sundeepsaradhi7 жыл бұрын
This is the link of Functionskzbin.info/www/bejne/inarcpJ_rLOeaZY
@sundeepsaradhi7 жыл бұрын
hi ANURAG i would like to have a FEEDBACK ( in the form of video not more than 15 sec) from you towards our channel and my sessions.so that i will collect feedbacks from all and will upload in youtube, Send your valuable FEEDBACK to my WhatsApp number : +91 9885466061 (91 is the country code) waiting for your valuable feedback. kzbin.info SO MAKE A VIDEO WITH FEEDBACK ON OUR CHANNEL AND SEND AS SOON AS POSSIBLE
@sridhars32044 жыл бұрын
Sir, What is meant by flag? Why do we use flag suddenly? could you please explain?
@sundeepsaradhi4 жыл бұрын
hi flag is also a variable nothing new.
@sanjaynshreenivas11076 жыл бұрын
8:10 is 2
@sundeepsaradhi6 жыл бұрын
hi srinivas thanks for observation and i just written the condition wrong at that time j
@manmohanpatnaik95576 жыл бұрын
Sundeep Saradhi Kanthety here j>=i is correct...
@Atharhashmisir5 жыл бұрын
यदि आपको हिंदी में सीखना हो, तो मेरे चैनल पर ज़रूर देखे।
@zoterodisuke43983 жыл бұрын
Please help me explain my code. I am confused at the for loop j because when I put j = 0, 1, 3, 5, I + 1. all these seems to work but I don't understand why it works. #include #include #define MAX 100 int main() { int isPrime[MAX]; int i, j, num; printf("Enter a number [more than 2]: "); scanf("%d", &num); for(i = 0; i < MAX; i++) { isPrime[i] = 1; } for(i = 2; i
@vinodvinny13093 жыл бұрын
How to count number of prime numbers? Sir
@SaiKiran-uu8ov3 жыл бұрын
why we take flag== 2 only
@hellwalker86024 жыл бұрын
You won't get the answer if you declare flag =0 outside for loop as you did in your case
@chipora36783 жыл бұрын
Thanks brother
@chocoojay74793 жыл бұрын
What is flag variable sir?
@Saikumarkusuma1235 жыл бұрын
Sir, its not executing When i entering the number in result window It is getting back to the program
@kalyanachakravarthi27364 жыл бұрын
There might be an error in the loop function
@thecodinghubpoint63643 жыл бұрын
write a program in c language user input the value (Hello) or output is (H*l*o).
@satyadodda23867 жыл бұрын
sir plzzzz make a video on a program to check whether it is a palindrome or not using functions plzzzz sir
@sundeepsaradhi7 жыл бұрын
hi satya definitely i will try to upload the program soon with in two or three days.
@saineeraj13264 жыл бұрын
I can't understand this can u explain the program in telugu
@goplay59365 жыл бұрын
How to count prime numbers in 2d array?
@le-310harikrishna43 жыл бұрын
What is flag sir
@htetwayyanpaing5 жыл бұрын
Hello Sir.Why Flag need to declare again under for loops.IF don't declare in that place the program doesn't work.I want to know Why flag was declare two times.Please.
@hanscesa56785 жыл бұрын
Because in the inner loop, once the condition fails, it will go move outside and re-run the outer loop. So, if you did not declare your flag = 0, in the outer loop, then the flag will always contain 1 or 2 because of the inner loop. Just think of it this way: if the inner loop fails, the flag value will return to 0 to start again.
@sindhujasindhu63372 жыл бұрын
Cab we use count instead of flag?
@prasannaganesh29966 жыл бұрын
For what we use flag
@ramyagudivaka49446 жыл бұрын
Sir please give the program to generate nth term of a prime number
@vinobavino95092 жыл бұрын
Sir can we use count instead of flag?
@srisriguntaka2482 жыл бұрын
Yes, you can use
@joseamithsebastian94943 жыл бұрын
my program didnt run all numbers are coming not prime
@bizay19826 жыл бұрын
Sir what is the use of flag=o
@sundeepsaradhi6 жыл бұрын
hi its just like a variable and the name i have given as flag. thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@byrrajuabhilashraju18225 жыл бұрын
Same as count bro it aslo just counts the values
@pavithradevia65275 жыл бұрын
Flag is used to differentiate prime and non prime number
@vinothvaradharajan30632 жыл бұрын
What is flag
@HamsterKombat05026 жыл бұрын
I think j%i is correct instead of j%n
@dancewithfingers86873 жыл бұрын
Im still not getting purpose of count
@rojnamcha1796 жыл бұрын
Sir plz c assignment papers solved kar dijiye na....
@sundeepsaradhi6 жыл бұрын
hi piyali roy post your doubts in the comment section so that i will clarify your doubts.
@slientpower_36616 жыл бұрын
Sorry to ask 1 also prime no
@sreelathas5854 жыл бұрын
1 is not a prime number because it has only one factor prime number must have two factors
@music_editz-i5dАй бұрын
Can any one tell me about flag
@sanjanagurav18306 жыл бұрын
Thanks sir .
@sanjayshelke87514 жыл бұрын
For 1 flag is one and not work
@tejasgadekar72146 жыл бұрын
You forgot else part
@sundeepsaradhi6 жыл бұрын
hi teja i think there is no use of else part in this program because here our problem statement is only to print all the primes in given range. i forget and written the else part in the program. Hope your doubt has been clarified.
@gkguru68304 жыл бұрын
program is for series printing , so "simple- if" is enough. If the program is for checking either A or B. You are correct. It require else part too.
@ananthreddy16773 жыл бұрын
ouput not getting sir
@sksaddam87755 жыл бұрын
Sir your program is little worng please chek
@sathoshreddy3 жыл бұрын
Sir this vedio is not cler
@shrutimanaguli60263 жыл бұрын
Sir sorry I like ur all videos Bt this one is bad explanation