Write a code to determine the total number of stops an elevator would take to serve N number of people.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What does malloc () calloc () realloc () free () do?

0 Answers  


Hierarchy decides which operator a) is most important b) is used first c) is fastest d) operates on largest numbers

1 Answers  


what is pointer ?

10 Answers   Kernex Micro Systems,


how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?

0 Answers  


any "C" function by default returns an a) int value b) float value c) char value d) a & b

0 Answers  






what is compiler

6 Answers  


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 Answers  


what is the code for getting the output as * ** ***

5 Answers   Caritor,


f(*p) { p=(char *)malloc(6); p="hello"; return; } main() { char *p="bye"; f(p); printf("%s",p); } what is the o/p?

7 Answers   Hughes,


Write a C program to perform some of the operation which can be performed using Single linked list

1 Answers   Qualcomm,


Why are all header files not declared in every c program?

0 Answers  


Tell me with an example the self-referential structure?

0 Answers  


Categories