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

What is 2c dna?

0 Answers  


write a programming in c to find the sum of all elements in an array through function.

0 Answers  


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

0 Answers  


Write a program to reverse a string.

0 Answers   Global Logic, iNautix, TCS, Wipro,


Write a program to compare two strings without using the strcmp() function

42 Answers   Accenture, Arba Minch University,


Explain a file operation in C with an example.

0 Answers   Amdocs,


what is disadvantage of pointer in C

13 Answers   Tech Mahindra,


What is the purpose of the fflush() function in C?

2 Answers  


Is null equal to 0 in sql?

0 Answers  


Are c and c++ the same?

0 Answers  


How can I find leaf node with smallest level in a binary tree?

1 Answers  


How to print all the 26 alphabets in this order in C. AbCdEfGh..... it should print dynamically from a to z and do not print this using pgm like this print("Ab......"); Use loops or anything to print all alphabets

2 Answers   Hexaware,


Categories