Question: 1) In C programing A) Create a function: int IsPalidrome(long value ); In that function, determine if the given values digits are a palindrome Examples:

1) In C programing

A) Create a function: int IsPalidrome(long value ); In that function, determine if the given values digits are a palindrome Examples: 1234321, 1111, 44, 5 are all palindromes Return 1 from the function if the value is a palindrome; 0 otherwise.

Print out the given number and if it is a palindrome or not. Test your function with 5 different values entered by the user

B) Create a function: int HighestBitSet( int value ); In the function determine the position of the highest bit that is set (0 index) Print out the value as a decimal value, in binary and the highest bit set Example: Value = 9 Binary = 1001 Highest bit set = 3 Test your function with 5 different values entered by the user

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!