Do not use sizeof for array parameters - GeeksforGeeks

Do not use sizeof for array parameters - GeeksforGeeks

瀏覽:676
日期:2024-04-24
@a449e7bf1669c991aa68712ac9e6b696:disqus sizeof operator returns number of bytes required to represent datatype which is passed to it. int array[10] when we apply sizeof to array it returns size of array which is 10* sizeof(int) (depends on machine ......看更多