Like, Comments, Share and SUBSCRIBE visit www.mysirg.com for all FREE videos
Пікірлер: 54
@hary40654 жыл бұрын
That was a much-anticipated code. I was working on it but couldn't code it right. Thanks for it. it feels like someone is watching over me.
@carishikeshshah8 жыл бұрын
Such a clean explanation. Great! Keep up the good work. Sirg request you to start separate section on informatics Olympiad questions.
@aadeshn48165 жыл бұрын
More simpler inside for loop take if (n[i] >=65 && n[i]=97 && n[i]
@abdulhaitalha59448 жыл бұрын
sir thank you very much sir.......ur explanation is just awesome....clear and understandable
@umargul56442 жыл бұрын
Great job sir
@harmanndhiman94924 жыл бұрын
Is it possible to have c be able to seperate words from text in a user input like: when you run code and type this question: How is the weather? Is it possible for it too seperate each word and see how in the sentence?
@Gamersodyssey-v3m3 жыл бұрын
Sir aap kaun sa compiler use kr rhe hai
@sadeqbetter4 жыл бұрын
Sir you have good context
@mysirgdotcom4 жыл бұрын
not judging but spelling is not correct...and sorry if I am ugly, nature give me that.😩
@sadeqbetter4 жыл бұрын
@@mysirgdotcom i was joking iam a fan i wanted you to reply :)
@anilkushwahaji57888 жыл бұрын
sir nice nice video i thanks a lot becoz of you i able to understand, lot of concept
@yashvashisth3106 жыл бұрын
but what about your english ?why is it so bad? Any plans to improve it A-hole??
@abdulhaitalha59448 жыл бұрын
sir is ur c progrmming tutorial is enough for us to survive in the field???
@anveshreddy12453 жыл бұрын
How to program if we want to count unique words in a string please answer
@SpeaktruthAndhra5 жыл бұрын
Hi sir , please make a video of factorial of largest number...:(
@reaper_coc63586 жыл бұрын
without function or pointer it is possible to count???
@sumitkushwaha30336 жыл бұрын
reaper_coc yes
@bishwajeetsharma34987 жыл бұрын
sir pehle hi ek printf Chala denge"please enter one space between two words"😀
@sumitkushwaha30336 жыл бұрын
Bishwajeet Sharma hahahha😂😂😂😂
@sumitkushwaha30336 жыл бұрын
Bishwajeet Sharma nice logic bahut aage tak jaoge😉😉😉
@deepsagore82864 жыл бұрын
😂
@Gamersodyssey-v3m3 жыл бұрын
haa sahi bola bhai
@hafizosamanizami13772 жыл бұрын
😂
@silverbullet_65 жыл бұрын
sir, if we check i-- if s[i] is a space and make count ++ if i - - is an alphabet and we check the s[strlen(s)] to alter count. is it possible
@musicalcandy17003 жыл бұрын
I am new in this can someone tell me which ide is this and from where I can download
@akshaydod31147 жыл бұрын
could you please provide the solution of the below program? program for the maximum number of words in a sentence. Given text can be divided into sentences by splitting it at dots, question marks and exclamation marks. For example, given S= "We test coders. Give us a try?", the function should return 4.
@ashishsinha88938 жыл бұрын
sir, what is the use of malloc and calloc function...
@akashkhatri46526 жыл бұрын
malloc is used for memory allocation.
@piyushbairagi48175 жыл бұрын
malloc() amd calloc() both are used for dynamic memory allocation for the variable .
@SpeaktruthAndhra5 жыл бұрын
Malloc() and calloc() functions helps to allocate dynamic memory. Then interviewer ask question is it really malloc () and calloc() functions allocate memory ? Answer is no , reason: brk() and sbrk() system calls called malloc and calloc functions internally ,to allocate memory (in Linux concept you will get it)
@kashba2 жыл бұрын
An easier way to solve the problem int main(void) { int i=0,k=0; int f=4; char a[200]=" aman saurabh kashba "; for(i=0;i
@sayantaniguha85193 жыл бұрын
*To remove extra spaces in a sentence :* for(i=0;s[i];i++) { if(s[i]==' ' && s[i+1]==' ') { for(int y=i+1;s[y];y++) s[y] =s[y+1]; i--; } } if(s[0]==' ') for(k=1;s[k];k++) printf("%c",s[k]); else printf("%s",s); //There might be an extra space at the end of the string!!
@prashantdwivedi17365 жыл бұрын
Sir i made it without using pointers. I used the ASCII code of space viz.32
@anjneykumarsingh44614 жыл бұрын
Can u plz share brother
@iplindia83654 жыл бұрын
Sir, p=malloc (steven(s)+1); this line has any error!?, because my IDE Xcode shows to me an syntax error
@garvbhatt75133 жыл бұрын
Same Invalid conversion from void* to char*
@PrashantSingh-tp1gj2 жыл бұрын
malloc() returns address but you need to typecast this malloc as it returns value to a void pointer. p = (char*)malloc(strlen(s)+1); Also include header file for using malloc ()
@HarshKumar-zm1jl3 жыл бұрын
;) thankss
@mdshamshalam89257 жыл бұрын
Nice concept. but i have one doubt sir. while removing extra space to count number of words. you wrote logic only for removing space . if it is tab then what will happend. if user enter tab between two word then what will happens plz consider this situation. waiting for reply......
@sumitkushwaha30336 жыл бұрын
MD SHAMSH ALAM if it tab then also not to worry.. becoz no of spaces by tab stores in string index by index so there is increment in index number if found space...so its clear😊
@anilkushwahaji57888 жыл бұрын
wow sir
@deepsagore82864 жыл бұрын
Gives error -Cannot convers void* to char * Compiler turbo
@TechByJSC6 жыл бұрын
Why stelen+1 sir,1 is not needed
@shubhamsharma-ew4wv7 жыл бұрын
i got the error like "incompatable decleration of built in function malloc ()"
@abhishekbhowmick59126 жыл бұрын
You should include standard input-output program by #include at the start of the function.
@RameshMaity90 Жыл бұрын
2023😍😍
@rakhibaghel97217 жыл бұрын
sir malloc ka used kyo kiya gya h samz nhu ayaa
@abhishekbhowmick59126 жыл бұрын
Malloc() is used for dynamic memory allocation, when we don't know the length of array needed, we just call this function to create such an array that can contain the string.
@abhishekbhowmick59126 жыл бұрын
You can also check this video kzbin.info/www/bejne/kITdq4xplsmZeq8