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
Which is better pointer or array?
What is structure padding and packing in c?
What is a structural principle?
Why we use break in c?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
How can I make it pause before closing the program output window?
What is the difference between single charater constant and string constant?
What is the difference between fread and fwrite function?
What are the differences between Structures and Arrays?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
What does it mean when a pointer is used in an if statement?
what is recursion in C
What is a volatile keyword in c?
What is a newline escape sequence?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA