Program to trim a given character from a string.
Answer Posted / dj
in above solution while loop iterates for only 6 times
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between single charater constant and string constant?
What is conio h in c?
What are valid operations on pointers?
What is the code in while loop that returns the output of given code?
What is the difference between union and anonymous union?
How can I split up a string into whitespace-separated fields?
In which language linux is written?
What is header file in c?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
How can you be sure that a program follows the ANSI C standard?
Explain how can I read and write comma-delimited text?
What does the file stdio.h contain?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
How can I read data from data files with particular formats?
How can I pad a string to a known length?