How can I remove the trailing spaces from a string?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is a static variable in c?

0 Answers  


how to add two numbers without using arithmetic operators?

4 Answers  


main() { int a[10]; printf("%d",*a+1-*a+3); }

2 Answers  


How to swap two values using a single variable ? condition: Not to use Array and Pointer ?

6 Answers  


write the function int countchtr(char string[],int ch);which returns the number of timesthe character ch appears in the string. for example the call countchtr("she lives in Newyork",'e') would return 3.

6 Answers  


Explain how does flowchart help in writing a program?

0 Answers  


whether itis a structured language?

1 Answers   Microsoft,


EXPLAIN #INCLUDE<STDIO.H> EXPLAIN #INCLUDE<CONIO.H>

4 Answers  


how can i print "hello".please consider inverted commas as well.i want to print on console: "hello"

4 Answers   Wipro,


int i=~0; uint j=(uint)i; j++; printf(“%d”,j);

1 Answers  


what is the definition of storage classes?

3 Answers   Wipro,


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

0 Answers  


Categories