C Interview Questions
Questions Answers Views Company eMail

what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }


1 2881

how to determine the complexity of an algorithm as log(n)


1 2004

how to do in place reversal of a linked list(singly or doubly)?

3 5094

wats the diference btwen constant pointer and pointer to a constant.pls give examples.

9 16139

Explain in detail how strset (string handling function works )pls explain it with an example.

1 9213

dibakar & vekatesh..uttejana here..abt ur reply for in place reversal of linked list..wats p stands for there?

1 2111

How to calculate Total working time using Login and logout?

CTS, Infosys, TCS, Wipro, Signal Networks, Cygnus,

2 8528

how do u find out the number of 1's in the binary representation of a decimal number without converting it into binary(i mean without dividing by 2 and finding out the remainder)? three lines of c code s there it seems...can anyone help

5 5985

wats SIZE_T meant for?

1 2485

how to calculate the time complexity of a given algorithm? pls give exaples..mainly for the coplexities such as O(log n),O(n log n)...


1 6856

can anyone suggest some site name..where i can get some good data structure puzzles???


Is there any restriction in how many arguments printf or scanf function can take? in which file in my c++ compiler i can see the code for implementation of these two functions??

4 7630


2 8514

how to find out the inorder successor of a node in a tree??

Yahoo, TCS,

2 10910

what is the different bitween abap and abap-hr?



Post New C Questions

Un-Answered Questions { C }

diff between exptected result and requirement?


write a program to display all prime numbers


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2


Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array. 3. Find the count of a certain character. 4. Print the positions where a certain character occured. 5. Print the characters between successive array elements. 6. Find the largest and smallest charcter. How many times it each one occured. 7. Enter a certain range. Print out the array elements which occured between these range. 8. Reverse a character array without using another array. 9. Reverse an array region. 10. Replace a the array elements with it next character . Use a after z. 11. Code the array element with certain character as first alphabet. 12. Duplicate all the vowels in a character array. What is the new count. 13. Delete the vowels in a character array. What is the new array count. 14. Print the count of all characters in the array. 15. Enter n alphabets and store a upto tht charcter in array.What is the array count? 16. Sort a character array. 17. Merge 2 character arrays largearray,smallarray. 18. Find the pair with largest number of characters in between. 19. Find the numerical value of a charcter array. 20. Store n numeral characters in an arrray. Insert another numeral character in a certain position. 21. Insert a character in a sorted array. 22. Merge 2 sorted arrays in sorted fashion. 23. Duplicate the least occuring character. 24. Write a menu driven program to circular right/left shift an array of n elements. 25. Is the character array palindrome? if not make it palindrome. 26. Concatenate the first n charaters to the end of the string. 27. Print all n group of chracters which are palindrome. 28. Concatneate the reverse of last n characters to the array.


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. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion


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


given post order,in order construct the corresponding binary tree


Calculate 1*2*3*____*n using recursive function??


how to make a scientific calculater ?


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


how could explain about job profile


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.