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 11143

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 3530

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

785




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 9580

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 6219

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

TCS,

847

write a proram to reverse the string using switch case?

Syntel,

1459

write a program to concatenation the string using switch case?

829




write a progam to compare the string using switch case?

1 2088

write a program to copy the string using switch case?

Mind Tree,

1658

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

L&T,

5 15846

write a program of bubble sort using pointer?

TCS,

3 22409

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

2 2691

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 2261

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 8381


Post New C Questions






Un-Answered Questions { C }

How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

875


Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

1110


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

4423


why return type of main is not necessary in linux

967


praagnovation

806






how to write a c program to print list of fruits in alpabetical order?

721


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1186


writ a program to compare using strcmp VIVA and viva with its output.

732


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

677


what is the basis for selection of arrays or pointers as data structure in a program

3023


using for loop sum 2 number of any 4 digit number in c language

889


shorting algorithmS

957


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

1953


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

68


`write a program to display the recomended action depends on a color of trafic light using nested if statments

883