what will be maximum number of comparisons when number of
elements are given?
No Answer is Posted For this Question
Be the First to Post Answer
What are unions in c?
Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321
what is the difference between strcpy() and memcpy() function?
Reverse the part of the number which is present from position i to j. Print the new number. eg: num=789876 i=2 j=5 778986
What is the use of a static variable in c?
int a[3][5]={ {1,2,3,4,5],{2,3,4,5,6},{10,11,12,13,14}}; int *p=&a; printf(ā%dā,*(*(x+1)+3));
wtite a program that will multiply two integers in recursion function
why we shiuld use main keyword in C
int i=0,j; j=++i + ++i ++i; printf(" %d",j);
What is c language used for?
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side?
how to swap 2 numbers within a single statement?