Write a c program to sort six numbers and find the largest one by using the ladder of if-else? plz do help me
2 18814Write an algorithm for a program that receives an integer as input and outputs the product of of its digits. E.g. 1234 = 24, 705 = 0
4 7197Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
212725. It takes five minutes to pass a rumour from one person to two other persons. The tree of rumour continues. Find how many minutes does it take spread the rumour to 768 persons. ?
11 19600There 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?
8 12628suppose there are five integers write a program to find larger among them without using if- else
2 5261Write a main() program that calls this function at least 10 times. Try implementing this function in two different ways. First, use an external variable to store the count. Second, use a local variable. Which is more appropriate?
2 50862. Write a function called hms_to_secs() that takes three int values—for hours, minutes, and seconds—as arguments, and returns the equivalent time in seconds.. Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.
TCS,
5 26844
the question is that what you have been doing all these periods (one year gap)
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is data structure in c programming?
What is call by reference in functions?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
What are the advantages of using macro in c language?
What is the full form of getch?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What are the standard predefined macros?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
Are enumerations really portable?
What do you mean by recursion in c?
What is the correct code to have following output in c using nested for loop?