How can I remove the leading spaces from a string?
No Answer is Posted For this Question
Be the First to Post Answer
main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }
2 Answers Vector, Vector India,
Write a program in c to print 1 121 12321 1234321 123454321
11 Answers ANR, College School Exams Tests, Mu Sigma, Wipro,
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
What is the difference between array and pointer?
What are the rules for the identifier?
How can you avoid including a header more than once?
Write a program using two-dimensional array that lists the odd numbers and even numbers separately in a 12 input values.
When should you use a type cast?
what are # pragma staments?
What is 2c dna?
what is the diference between pointer to the function and function to the pointer?