Samsung Interview Report
- 0of 0 votes
AnswersDesign the XML Parser.
- hprem991 November 01, 2011 in India| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Application / UI Design - 0of 0 votes
AnswerHow do you Design Access Specifier in C.
- hprem991 November 01, 2011 in India| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Application / UI Design - 0of 0 votes
AnswersGiven pointer
- hprem991 November 01, 2011 in India
char *p = <body> <tagname1>Tagvalue1</tagname1>
<tagname2>Tagvalue2</tagname2>
<tagname3>Tagvalue3</tagname3>
..
..
..
<tagnamen>Tagvaluen</tagnamen>
</body>
Write a Program to replace a Tagvalue from existing Value to User Provided New Value..
example : - Your Function Func(TagName,New tagvalue) should replace the existing tagvalue of the Tagname to NewTagName..
Given Constraints :-
1> Function should be granular enough.
2> Its actually a design question so approach is important.
3> Take Care of Error Condition . Like TagName not found etc.
4> Also make sure the conditions like if the Given Tagvalue is not of Same Length that proper handling etc.| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Application / UI Design