How can I remove the leading spaces from a string?
Answer / Ravi Ranjan
To remove leading spaces from a string, you can use the sscanf function in C. Here's an example:nnchar str[100]; // your stringnsscanf(str, "%[^t ]"%, str); // removes leading whitespaces
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the right type to use for boolean values in c?
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.
WHAT IS HIGH LEVEL LANGUAGE?
What does int main () mean?
What is d'n in c?
which do you prefer C or Pascal?
why program counter is 16 bit?
What is extern c used for?
Convert the following expression to postfix and prefix X $ Y Z - M + N + P / Q / (R + S)
what does " calloc" do?
Define C in your own Language.