Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

How to allocate array using malloc

$
0
0

I want to allocate arrays that can store 109 variables , how do I do it ? Here's how I'm doing ,think it's not working int arr; arr= (long long )malloc(100000*sizeof(long long)) Anyone , any opinions/suggestions on this ?


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>