How to find a missed value, if you want to store 100 values in a 99 sized array?



How to find a missed value, if you want to store 100 values in a 99 sized array?..

Answer / Gunjan Pandey

You can use the first element as a placeholder for the missing value. If an index is greater than or equal to 99, it indicates that the value at this index is the missing one.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Is c still used?

1 Answers  


write a c program to print "Welcome" without using semicolon in the whole program ??

15 Answers   Infosys, TCS,


plz answer..... a program that reads non-negative integer and computes and prints its factorial

2 Answers  


1 1 12 21 123 321 12344231 how i creat it with for loop??

1 Answers  


Explain the difference between ++u and u++?

1 Answers  


Is c call by value?

1 Answers  


Explain the advantages and disadvantages of macros.

1 Answers   TCS,


what is the benefit of c30

2 Answers  


What is the explanation for prototype function in c?

1 Answers  


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1 Answers   Wilco,


1.)how to find d most repeated word in a string? string ="how do you do"?? output should be do

1 Answers   AAS, Nagarro, Vuram,


Is javascript written in c?

1 Answers  


Categories