123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home

Source Codes

BE Students

Training  Reports (updated)

Placement Papers (updated)

Forums

   Computer Science / IT

   Electronics

   Electrical

   Mechanical

   Chemical

   Civil

   CAT / MBA

   GMAT / Foreign MBA

Latest Jobs

Engineering Jobs / Technical Jobs

Management Jobs

Sitemap

About-Us

Terms of use

Displaying  Source Code(s)  
 

 
Program to remove multiple spaces from a string.

--------------------------------------------------------------------------------

Description : This program reads the string and removes multiple spaces

#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
char s[50]="Earth on Planet",t[50];
char *s1=s;
int i=0,j=0;
for (i=0; s[i]!='
 

 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG