Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C Interview Questions
Questions Answers Views Company eMail

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 16337

Write 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 5148

Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

1397

25. 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. ?

CTS, TCS,

11 14553

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?

Google,

8 9537

Write a progarm to find the length of string using switch case?

TCS,

1447

write a proram to reverse the string using switch case?

Syntel,

2212

write a program to concatenation the string using switch case?

1402

write a progam to compare the string using switch case?

1 2861

write a program to copy the string using switch case?

Mind Tree,

2242

write a program of palindrome(madam=madam) using pointer?

L&T,

5 18973

write a program of bubble sort using pointer?

TCS,

3 25254

suppose there are five integers write a program to find larger among them without using if- else

2 3974

Write 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 3393

2. 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 21689


Post New C Questions

Un-Answered Questions { C }

Can you explain the four storage classes in C?

485


What are the advantages of Macro over function?

699


What is structure and union in c?

416


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

439


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

489






What is the use of pragma in embedded c?

436


What are the types of pointers in c?

386


Can stdout be forced to print somewhere other than the screen?

456


What is difference between structure and union with example?

420


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

1685


What is fflush() function?

458


What is the use of f in c?

414


What is a program flowchart and how does it help in writing a program?

477


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜nā€™ element.

1423


What is a union?

454