0
What is the problem with the code
/* if i hava an array { 5, 2, 7, 3, 4, 6 } and i want to count element in the longest increasing subsequence in the pervious arry the sub is { 2, 3, 4, 6 } the code for something like this is */ the output ol should be 4 https://code.sololearn.com/c1PMd8H3r0L9/?ref=app
1 Answer
0
Use sizeof(Array-name)/sizeof(Array-Datatype) to get the number of elements in an array.