No products in the cart.

How to initialise a array function

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

How to initialise a array function
  • 1 answers

Liton Barman 5 years, 11 months ago

As per my knowledge, their is no concept like array function. But you can define a function to manipulate array , as :- return_type func_name(identifier array[n]); Example :- _____________________________________ Int manipulate(int temp[]){ for(int x=0;x<=10;x++){ cout<<temp[x]<<endl; } } _____________________________________ And can call it as :- int hold[]={1,5,3,8,3,9,0,4}; manipulate(hold); // not as manipulate(hold[]) _____________________________________ Thanks....
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers
What is mean by buffering in file handling?
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App