Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > DATA STRUCTURES, C, C++, VC ++ > ds. c , c++ Interview / Technical Questions
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

ds. c , c++ Interview / Technical Questions Kindly solve an many as questions you can. It will sharpen your skills and those solutions will help others too.

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 09-08-08, 09:34 AM   #1 (permalink)
Junior Member
 
Join Date: Aug 2008
Age: 26
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1 rforravi is on a distinguished road
Plzz solve my interview question in C

Hi guyz..
Yesterday I had my interview and the following question was asked.. I cudn't answer it but wud like to know how to solve it.. plzz help.. The question is :

You need to enter two strings s1 and s2. Then we need to concatenate both the strings in the order s1-s2 and store it in the string s2. ( assuming s2 has enuf place to accomodate the whole).. Then we need to display( or print) s2, BUT.... in the output , the s1 should not be visible..

Well this is the question... !!


Thx a lot frndz !
rforravi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-08-08, 09:24 PM   #2 (permalink)
Junior Member
 
Join Date: Aug 2008
Age: 26
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1 rforravi is on a distinguished road
Unhappy Re: Plzz solve my interview question in C

Guyz..
no answer yet?????

And yeah.. sorry.. forgot to add more to the question.
V should not use any of the string functions.. such as strlen(), strcat().. etc. etc..


Plz frnds..!!?
I'm unable to get an idea of how to go abt this..
rforravi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
tips for interview ozobalu HR Questions 9 23-09-08 12:32 AM
Dug it yathish Companies Info & Recruitment Process 4 10-09-08 06:25 PM
must read all UG students!!!!!!!!!!!!! sanjay Other Queries 15 04-09-08 04:10 PM
Interview Questions Pink Other Queries 15 20-08-08 03:37 AM


All times are GMT +6.5. The time now is 01:25 PM.





Search Engine Optimization by vBSEO 3.1.0