How many tropic levels can a food chain have?
104
What is a test tube and how is it used?
476
Can ALTER TABLE statment on Paradox tables removes passwords ?
1171
Explain about workbench moderation module
136
Do Audit history maintained for enabling and disabling field level security by setting 'IsSecured' on a field?
481
Why do you see bpo as your career? : bpo
860
What is the final access modifier in java?
622
What can be done to eradicate poverty from the country?
689
What are the major product milestones? - Venture Capitalists
1201
If you are ever stuck in an infinite loop, how will you break out of it?
555
What are group functions in query statements in ms sql server?
561
Minimum IR value of 1.1 kv grade 3.5c (300,
240,185,150,120,95,70,50,35,25) sqmm Aluminium XLPE cable and
4c (16, 10,6 & 4) sqmm cu arm cable between
RY,YB,BR,RN,YN,BN,RE,YE,BE & NE.
2913
I need testPalindrome and removeSpace
#include
#define SIZE 256
/* function prototype */
/* test if the chars in the range of [left, right] of array
is a palindrome */
int testPalindrome( char array[], int left, int right );
/* remove the space in the src array and copy it over to the
"copy" array */
/* set the number of chars in the "copy" array to the
location that cnt points t */
void removeSpace(char src[], char copy[], int *cnt);
int main( void )
{
char c; /* temporarily holds keyboard input */
char string[ SIZE ]; /* original string */
char copy[ SIZE ]; /* copy of string without spaces */
int count = 0; /* length of string */
int copyCount; /* length of copy */
printf( "Enter a sentence:\n" );
/* get sentence to test from user */
while ( ( c = getchar() ) != '\n' && count < SIZE ) {
string[ count++ ] = c;
} /* end while */
string[ count ] = '\0'; /* terminate string */
/* make a copy of string without spaces */
removeSpace(string, copy, ©Count);
/* print whether or not the sentence is a palindrome */
if ( testPalindrome( copy, 0, copyCount - 1 ) ) {
printf( "\"%s\" is a palindrome\n", string );
} /* end if */
else {
printf( "\"%s\" is not a palindrome\n", string );
} /* end else */
return 0; /* indicate successful termination */
} /* end main */
void removeSpace(char src[], char copy[], int *cnt)
{
}
int testPalindrome( char array[], int left, int right )
{
}
2222
Are spring annotations inherited?
166
Why dynamic loading is used in object-oriented programming?
584