Given an array of length N containing integers between 1
and N, determine if it contains any duplicates.
Answer Posted / ramkumar
What if the array is
1) 1,2,3,4,5
2) 1,2,2,5,5
both sums to 15!!
Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is the sizeof () operator?
Explain modulus operator.
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
What is the difference between a free-standing and a hosted environment?
What are loops in c?
Why is it that not all header files are declared in every C program?
What is difference between structure and union?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What is the process to create increment and decrement stamen in c?
what is a function method?give example?
Where define directive used?
explain what is a newline escape sequence?
Explain data types & how many data types supported by c?
What is variable in c example?
Tell me can the size of an array be declared at runtime?