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
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What is the best style for code layout in c?
What is the purpose of the preprocessor directive error?
If null and 0 are equivalent as null pointer constants, which should I use?
Explain bit masking in c?
Explain how do you convert strings to numbers in c?
What does c mean in basketball?
What is the translation phases used in c language?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Did c have any year 2000 problems?
What is adt in c programming?
What are global variables and how do you declare them?
What is sizeof array in c?
What are the types of data types and explain?
how to print the character with maximum occurence and print that number of occurence too in a string given ?