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
Inbuilt Functions i). Functions to manipulate strings The cstring library defines many functions to perform some manipulation operations with C-styled functions. The followi
Problem Description There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometime
Explain U s e r - D e f i n e d D a t a T y p es? C has Union and Structure as user-defined data types. C++ has class which looks like structure with a
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 concatenation. For a string of t
write a atm program in c with inbuilt functions for 1782?
C Program for MULTIPLICATION TABLE main() { int a, b=1, c, d; char ch; clrscr(); while(ch!='n') {
write an algorithm to swap values without using third variable
write aprogram for random -search to implement if a[i]=x;then terminate other wise continue the search by picking new randon inex into a
The zipped folder int_collection.zip (downloaded from Blackboard) contains an abstract class AbstractIntCollection and two interfaces: IntList and IntStack. The abstract class cont
Define a procedure that takes three numbers as arguments and returns the sum of the squares of the two larger numbers.
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