Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
# include stdio.h>
# include conio.h>
# include string.h>
void main()
{
int i=0,j=0;
char a[100],temp;
clrscr();
for(i=0;i<100;i++)
a[i]=0;
}
i=0;
printf("\nENTER THE STRING: ");
gets(a);
for(i=0;a[i]!='\0';i++)
for(j=0;a[j]!='\0';j++)
if(a[i] { temp=a[i]; a[i]=a[j]; a[j]=temp; } } } for(i=0;a[i]!='\0';i++) { printf("%c",a[i]); } getch(); } OUTPUT : ENTER THE STRING: KAMLESH D MENGAR AADEEGHKLMMNRS
temp=a[i];
a[i]=a[j];
a[j]=temp;
printf("%c",a[i]);
getch();
OUTPUT :
ENTER THE STRING: KAMLESH D MENGAR
AADEEGHKLMMNRS
B a s i c D a t a t y p e : T h e r e a r e t h r e e t y p e o f d a t a t y p e i n C+ + 1. P r
Both malloc & new functions are utilized for dynamic memory allocations & the basic difference is: malloc need a special "typecasting" while it allocates memory for eg. if the poin
Within software engineering, software is very rarely written by a single software engineer. Usually a team of engineers write a program; therefore a formal structural design approa
one of the segments is showing compilation error...
Unions A union is also like a structure, except that only single variable in the union is stored in the allocated memory at a time. It is a collection of mutually exclusive var
create a flowchart that display the assume that there are 3 section each student ?
Write a ''C'' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number
Q. Explain that how do we implement two stacks in one array A[1..n] in such a way that neither the stack overflows unless the total number of elements in both stacks together is n.
A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concate
List any six commonly found programming errors in a C program Six commonly found errors in a C program are: 1. Missing or misplaced ; or }, missing return type for a proc
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd