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 10667

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 3440

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


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


11 9118

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?


8 6038

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



write a proram to reverse the string using switch case?



write a program to concatenation the string using switch case?


write a progam to compare the string using switch case?

1 2025

write a program to copy the string using switch case?

Mind Tree,


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


5 15365

write a program of bubble sort using pointer?


3 22005

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

2 2575

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 2179

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.


2 7771

Post New C Questions

Un-Answered Questions { C }

how could explain about job profile


all c language question


what is the role you expect in software industry?


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }


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


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


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;


application attempts to perform an operation?


How to implement a packet in C


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f


What is pre-emptive data structure and explain it with example?


what is event driven software and what is procedural driven software?