Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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

1012


What is the best style for code layout in c?

1075


What is the purpose of the preprocessor directive error?

1219


If null and 0 are equivalent as null pointer constants, which should I use?

1158


Explain bit masking in c?

1100


Explain how do you convert strings to numbers in c?

1041


What does c mean in basketball?

956


What is the translation phases used in c language?

1085


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

1049


Did c have any year 2000 problems?

1080


What is adt in c programming?

1125


What are global variables and how do you declare them?

1042


What is sizeof array in c?

1003


What are the types of data types and explain?

1055


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2428