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

Explain the term printf() and scanf() used in c language?

1049


What is a header file?

1078


Write a program to swap two numbers without using the third variable?

1064


What are the three constants used in c?

995


What is a void pointer in c?

1105


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

1115


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

2128


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

1119


What is double pointer?

996


GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

1097


Is sizeof a keyword in c?

965


What are categories used for in c?

1093


What are the types of assignment statements?

1064


What is static function in c?

1113


What are run-time errors?

1118