Wednesday, February 25, 2015

How do you print only part of a string?

Question:How do you print only part of a string??

Answer: </I> /* Use printf() to print the first 11 characters of source_str. */ printf("First 11 characters: '%11.11s'n", source_str);

Tags:Interview Questions, Languages, C,

Please submit your Interview Answer for the above Question via replying to this post. Thank you for visiting to our blog, Have a Good Day!.



Sponsor Advertisement



Real Estate Management Software

Real Estate Management System Software

Real Estate Management Software is an advanced end-to-end Real Estate Office Management System that enables Real Estate Agencies to manage more effectively, search prorty details, keep property owner data etc. Web-based tracking and accounting solution ideal for commercial, residential housing....

No comments:

Post a Comment