Home
|
Tech FAQ
|
Interview Questions
|
Placement Papers
|
Tech Articles
|
Learn
|
Freelance Projects
|
Online Testing
|
Geeks Talk
|
Job Postings
 |
Knowledge Base
 |
Site Search
|
Add/Ask Question
GeekInterview.com
>
Tech FAQs
>
OOPS
Go To First
|
Previous Question
|
Next Question
OOPS
| Question 125 of 255
Print
Write a program to concatenate two strings.
Total Answers and Comments:
1
Last Update: October 01, 2007
Sponsored Links
Best Rated Answer
—
Submitted by
:
renji_reshma
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char name[50],fname[15],sname[15],lname[15];
int i,j,k;
clrscr();
printf("First name:");
gets(fname);
printf("Second name:");
gets(sname);
printf("Last name:");
gets(lname);
for(i=0;fname[i]!='