How do you determine if a string is a palindrome?
Answer / glibwaresoftsolutions
When the order of the characters in a string is reversed and the string remains unchanged, it is called a palindrome.
One way to accomplish this is to first reverse the original string and then determine whether the reversed string is identical to the original string.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL
What is memmove?
What is the advantage of using #define to declare a constant?
0 Answers Agilent, ZS Associates,
What is 02d in c?
How does the C program handle segmentation faults?
write the program for prime numbers?
73 Answers Accenture, Aptech, Infosys, TCS,
main() {int a=200*200/100; printf("%d",a); }
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }
What are compound statements?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
What is call by reference in functions?
what r callback function?