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!
void main()
{
int i=0,k=0,word=0;
char a[30],temp;
clrscr();
printf("ENTER THE STRING: ");
do
a[i++]=getchar();
}while(a[i-1]!='\n');
a[i]='\0';
printf("%s",a);
for(i=0;a[i]!='\0';i++)
if(a[i]==' ' || a[i]=='\n')
word++;
temp=a[k];
a[k]=a[i-1];
a[i-1]=temp;
k=i+1;
}
if(word%2==0)
printf("\nNO OF WORDS ARE %d",word);
getch();
OUTPUT
-ENTER THE STRING: KAMLESH
AMLESHK
MLESHKA
LESHKAM
ESHKAML
SHKAMLE
HKAMLES
KAMLESH
What is constructor or ctor?
1. Dene a function chomp :: String -> String that selects a run of repeated characters from the start of a string with the run being as long as possible. For example ch
How must runtime errors be handled in C++ - Runtime errors in C++ can be handled using exceptions. - This exception handling mechanism in C++ is developed to handle errors i
#write code for rotation in c
Develop libcurl XML project I have a Project using XML with C++. You will use things like LIbcurl etc....and a XML parser to finish the project. Developer must know how to use X
We are seeking a talented developer/team with great experience in programming apps for both Android and iOS. Our project needs great skills and experience in making good functional
#include #include #include void* memorycopy (void *des, const void *src, size_t count) { size_t n = (count + 7) / 8; char* destination = (char *) des; char* source =
Hi, I want to get rtsp source for windows
Differentiate between a template class and class template in C++? Ans) Template class: A generic definition or a parameterized class not instantiated until the client gives the
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 sometimes mistakes doing that
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