Hi,
very simple , if this condition satisfies then it is power of 2 if ( ! ( num & ( num - 1 ) ) )
C program to find and print second largest digit in the given number? (without using arrays, functions and using only one loop).
Write a C program to check if the given string is repeated substring or not. ex 1: abcabcabc - yes (as abc is repeated.) 2: abcdabababababab - no