What is a data control clerk?
1099
What is big advantage of fast breeder reactor ?
1143
What is the difference between 'is' and '==' in python?
1436
If a person is working in R&D organisation but he has not
been involved in R&D activities. So Which types of
questions may be asked if he wants to get opporunity in
mechanical R&D activities?
3459
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 )
{
}
2751
How to disable the mod_perl from apache_server as i have
used perlfect search on the site and its pagination is not
working and the remedy is to disable the mod_perl.
2263
what is the difference fsg report and d2k report?
386
Initially, when the input is not equal to the output — what type of response is this?
1102
How do I uninstall sql server 2014?
985
Is it possible to remove child records without removing master table records...the two having pk,fk relationship?
1302
Why do we need apache tomcat server?
1041
when should you create a forest? : Windows server 2003
386
How would you write a custom function in r? Give an example.
94
Enumerate the parts of Main Switchboard
2061
How do I split a cell into two rows in excel?
691