How can I remove the leading spaces from a string?
No Answer is Posted For this Question
Be the First to Post Answer
Illustrate it summing the series 2+4+6+......to n terms using (i) while loop (ii) do-while loop
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
how to print the character with maximum occurence and print that number of occurence too in a string given ?
Write a program to generate prime factors of a given integer?
What is operator precedence?
find a number whether it is even or odd without using any control structures and relational operators?
22 Answers Microsoft, Shashank Private Limited,
1. Write a C program to count the number of occurrence of a specific word in the given strings. (for e.g. Find how many times the word “live” comes in the sentence “Dream as if you’ll live forever, live as if you’ll die today ”)
44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?
can u give me the good and very optimised code for a car racing game?
Tell me what is null pointer in c?
What is the meaning of ?
Why does everyone say not to use scanf? What should I use instead?