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 .



how can i get the string which is having two spaces at the end.suppose the string is "Hello W..

Answer / banavathvishnu

char *str = "Hello World ";
puts(str);

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More C Interview Questions

Explain what is the difference between a free-standing and a hosted environment?

0 Answers  


What is NULL pointer?

0 Answers   Infosys,


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

0 Answers  


How to declare a variable?

0 Answers  


What does s c mean in text?

0 Answers  


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL

0 Answers  


why array index always starts from zero??

4 Answers   TCS,


What is uint8 in c?

0 Answers  


Where is volatile variable stored?

0 Answers  


main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }

1 Answers   Vector, Vector India,


what is the purpose of the code, and is there any problem with it. bool f( uint n ) { return (n & (n-1)) == 0; }

1 Answers   Google,


what will be the output: main(){char ch;int a=10;printf("%d",ch);}

36 Answers   Accenture, TCS, Wipro,


Categories