How can you send an email message from an asp.net web page?
1038
Explain slt?
105
What are the different BTG rules to achieve SAP Hybris Advanced Personalization?
5
What are the various ajax functions?
885
What is the difference between list, set and map?
1031
What is the business service and what is the business system?
2051
If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?
1054
What is clause?
1229
Can any give an example(if possible templates) how to test
web application using QTP. thanks in advance
2097
What is it called when cells merge?
608
What is variable explain?
1050
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
What is the definition of a column in a spreadsheet?
624
You must declare all application components in manifest file in this way?
971
How to implement a stack in Perl?
1086