Q. Which of the following is the correct way to declare a function that takes an array of integers and its size as arguments in C?

निम्नलिखित में से कौन सा तरीका C में पूर्णांकों की एक सरणी और उसके आकार को तर्क के रूप में लेने वाले फ़ंक्शन को घोषित करने का सही तरीका है?

A
void func(int arr, int size);
B
void func(int arr[], int size);
C
void func(int arr[10], size);
D
void func(int[], int);

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment