Ask your own question, for FREE!
Computer Science 25 Online
OpenStudy (christos):

C++ Functions Error, Why do I get this error ? http://screencast.com/t/4XYSmieK

OpenStudy (anonymous):

may u shud pass null as the second parameter?

OpenStudy (christos):

how ?

OpenStudy (anonymous):

as per i can get... you are sending 0 as refnce from sum The C and C++ standards specify that the 0 pointer is not a valid memory location.

OpenStudy (christos):

I am sending 0 where ? How do I fix it ?

OpenStudy (anonymous):

:) where the error is { try using sum(n,NULL)}

OpenStudy (christos):

like this ? http://screencast.com/t/pncGv00GkW

OpenStudy (anonymous):

C this if it can help you

OpenStudy (christos):

thanks

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!