Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
Thank you sir ... I am completing my syllabus of C programming now . I m a student of mathematics. And in this sem a new sub C Programming is added to our course .And I have no privious knowledge in any computer language. So I was so nervous and depressed.But your classes gives all the basic concepts very clearly and now I am doing my syllabus complete . Thanks again sir..thank you so much
In console window,o/p will be only 'super'.Since,you have given the array size as 5 and it won't accept 'superb explanation' as it's size is more than 5!
Sir, just for fun i have written this:- #include int main() { char name[50] = "meher ali"; unsigned int len; for(len=0; name[len]!=' '; len++); printf("%d", len); } Output: 5 Because i wrote 'space' in for loop... It's is for fun only. 😛😛😛 You are great teacher and i learnt from you many things thank you
3:34 There is also a way to use the scanf() function. - scanf("%[^ ]", Stringname); - That means it will accept all the values except the new line. - scanf("%[A-Ba-b ]", Stringname); - That means it will accept all the values from A to B, a to b and the space.
Great videos on strings and string handling in C. Although gets() is always giving me an error that it is unsafe so instead I am using scanf(" %maxLength[^ ]", arrayName)
greate explanation sir you are the best c programming teacher you tube tutorial one suggestion sir make the tutorials series means give them parts1 part2 as on
Sir, it's GOOD,but all the videos are not provided in this channel.Videos on operators is missing and the videos are not in a proper sequence.Strings lecture is before Arrays.Please VERIFY.
Thanq so much shrinivash sir for ur classes. The way u explain everything is owsm anyone can understand. I would love to learn more in detail about c n programming. I need ur help for my upcoming exm in jun month it ( c language n ict) please can i have ur no to have a guideline for my preparation please show me the way how to communicate with u.
sir in the above program using unsigned int len but while printing in the program using %d formate specifier. so instead of using %d %u format specifier writing is correct or not in the data types concepts u say that unsingned int format specifier is %u. so which formate specifier i have to write? in the above question. thank u.
timing 4:15 sir you can say that get s will read all the character array until you press the enter. either it will space character or special character.... but, at 4:57 you say when space is consider between hari krishna it will not considerd........so, how we differentiate from scan f.
#include main() { char Str[1000]; unsigned int len; printf("Enter the String: "); gets (Str); len= strlen (Str); printf("Length of '%s' is '%d'", Str, len); } RUN THIS THANKS ME LATER
If ,I am using gets funtion to read all char even space and sentence etc also but after it string size changed ,it is necessary that new size of string is define in string or not.
Sir ur saying wrong strlen() function counts including null character it counts from 0 to 9 not 1 to 9 .bcz of this when I am watching the 3 part of string to reverse the string I am not getting output I have check code and entered everything like u said but the one thing u said wrong about this strlen() by using this it swaps the null charater also so we have to use strlen()-1 then null will not Swaped.
while using 'gets()' a warning is displayed on the console screen as 'gets' is a dangerous function and should not be used. Instead of 'gets()' we are asked to use 'fgets()' and 'puts()'.
Why gets() function is dangerous..you said gets ()is executed until you press the enter key..but when we need to read a paragraph..if we press the enter..it will stop execution...give me solution sir
Sir, sorry to say that , introduction ourselves just use IAM or my name is these two words are formal,'this is ..' is used for only non living things plz forgive me sir ....