how can i get the string which is having two spaces at the
end.suppose the string is "Hello World ".Now at the end i
have two spaces.i need to print with that spaces .
Answer Posted / banavathvishnu
char *str = "Hello World ";
puts(str);
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is difference between structure and union?
Explain what is the difference between the expression '++a' and 'a++'?
i want to know the procedure of qualcomm for getting a job through offcampus
Can we change the value of static variable in c?
How does #define work?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
What is meant by int main ()?
What will be your course of action for a push operation?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is sizeof array?
Are the variables argc and argv are local to main?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
Why we use int main and void main?
What are linker error?
What is the difference between int main and void main?