You are given a string which contains some special
characters. You also have set of special characters. You are
given other string (call it as pattern string). Your job is
to write a program to replace each special characters in
given string by pattern string. You are not allowed to
create new resulting string. You need to allocate some new
memory to given existing string but constraint is you can
only allocate memory one time. Allocate memory exactly what
you need not more not less.

Answer Posted / raja

no this answer is not correct

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between constant pointer and pointer to a constant.

616


How can I read/write structures from/to data files?

554


Why is a semicolon (;) put at the end of every program statement?

630


Can you please explain the scope of static variables?

608


What's the difference between constant char *p and char * constant p?

660






Can a variable be both static and volatile in c?

610


What is getche() function?

613


Explain void pointer?

594


What is 02d in c?

639


What is the use of ?

628


How are Structure passing and returning implemented by the complier?

717


What is c basic?

603


Which header file is used for clrscr?

586


What are the standard predefined macros?

639


What are the types of pointers?

606