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 11006

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 3496

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

771




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

TCS, CTS,

11 9313

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 6154

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

TCS,

825

write a proram to reverse the string using switch case?

Syntel,

1434

write a program to concatenation the string using switch case?

816




write a progam to compare the string using switch case?

1 2069

write a program to copy the string using switch case?

Mind Tree,

1636

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

L&T,

5 15694

write a program of bubble sort using pointer?

TCS,

3 22244

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

2 2654

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 2241

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,

2 8164


Post New C Questions






Un-Answered Questions { C }

Write the test cases for checking a variable having value in range -10.0 to +10.0?

924


can anyone please tell about the nested interrupts?

851


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

572


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

1325


I need previous papers of CSC.......plz help out by posting them.......

961






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

825


cavium networks written test pattern ..

2251


Explain output of printf("Hello World"-'A'+'B'); ?

189


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

850


What is the difference between declaring a variable by constant keyword and #define ing that variable?

1581


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

781


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

647


what is the syallabus of computer science students in group- 1?

1070


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

878


write a programming in c to find the sum of all elements in an array through function.

954