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 program to swap two numbers without using the third variable?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Does sprintf put null character?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
give one ip, find out which contry
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist
how the compiler treats any volatile variable?Explain with example.
What are macros in C?
find a number whether it is even or odd without using any control structures and relational operators?
22 Answers Microsoft, Shashank Private Limited,
Why c is called top down?
what is the self-referential structure?
Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }