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); }

Motorola,

1 4063

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

Google,

1 3040

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

3 6601

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

9 19335

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

1 10518

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

1 3221

How to calculate Total working time using Login and logout?

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

2 10327

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 8233

wats SIZE_T meant for?

1 3536

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

Infosys,

1 7913

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

1635

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 9967

WHY DO WE USE A TERMINATOR IN C LANGUAGE?

2 11066

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

TCS, Yahoo,

2 12536

what is the different bitween abap and abap-hr?

TCS,

1726


Post New C Questions

Un-Answered Questions { C }

Explain what are multidimensional arrays?

590


What are structure members?

584


pierrot's divisor program using c or c++ code

1715


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

599


What is time complexity c?

554






Explain what is the benefit of using const for declaring constants?

600


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

1575


What is the best style for code layout in c?

618


What math functions are available for integers? For floating point?

613


Do pointers need to be initialized?

546


What is call by value in c?

544


How do you determine a file’s attributes?

587


what are non standard function in c

1420


What is ## preprocessor operator in c?

602


difference between Low, Middle, High Level languages in c ?

1618