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

17580

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

5869

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

1716

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,

16515

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?

10679

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

TCS,

1651

write a proram to reverse the string using switch case?

2512

write a program to concatenation the string using switch case?

1606

write a progam to compare the string using switch case?

3227

write a program to copy the string using switch case?

2439

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

L&T,

19943

write a program of bubble sort using pointer?

TCS,

25948

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

4413

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?

3910

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,

24847

Un-Answered Questions { C }

please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

1737

Is that possible to store 32768 in an int data type variable?

730

the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

646

Write a code to remove duplicates in a string.

674

What is the difference between array and linked list in c?

651

What does c in a circle mean?

621

What are data structures in c and how to use them?

711

What are the types of unary operators?

707

Why is it that not all header files are declared in every C program?

723

What are the 5 elements of structure?

617

What are the application of void data type in c?

820

what is reason of your company position's in india no. 1.

1822

What is the best way to store flag values in a program?

616

What is string concatenation in c?

605

How will you declare an array of three function pointers where each function receives two ints and returns a float?

835