Computing.Net > Forums > Programming > write a program

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

write a program

Reply to Message Icon

Name: book_life
Date: May 28, 2009 at 02:41:12 Pacific
OS: ubuntu
Subcategory: C/C++
Comment:

A non-empty array a of length n is called an array of all possiblities if it contains all numbers between 0 and n-1 inclusive. Write a function named isAllPossibilities that accepts an integer array and returns 1 if the array is an array of all possiblities, otherwise it returns 0.

function signature: int isAllPossibilities(int a[ ], int len)
where len is the number of elements in the array

Thanks in advance!



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: write a program

write a program to www.computing.net/answers/programming/write-a-program-to/1696.html

How to write a C++ Program www.computing.net/answers/programming/how-to-write-a-c-program/3462.html

Writing a program www.computing.net/answers/programming/writing-a-program/14816.html