Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Why cann't whole array can be passed to function as value.



Why cann't whole array can be passed to function as value...

Answer / vignesh1988i

ya it's possible ..... we can pass whole array as an value....

let's take the code :

void function(char [] );
void main()
{
char ch[30];
function(ch);
getch();
}

void function(char ch[])
{
printf("%s",ch);
}

thank u

hope this will work.....

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More C Interview Questions

What is string concatenation in c?

0 Answers  


Do you know what are bitwise shift operators in c programming?

0 Answers  


Which is more efficient, a switch statement or an if else chain?

0 Answers  


What does c mean in standard form?

0 Answers  


will u please send me the placement papers to my mail???????????????????

0 Answers  


what is the role you expect in software industry?

0 Answers   HCL,


Which type of language is c?

0 Answers  


What is the difference between break and continue?

3 Answers  


Is that possible to add pointers to each other?

0 Answers  


What tq means in chat?

0 Answers  


Is fortran still used in 2018?

0 Answers  


what is the meaning of 'c' language

3 Answers  


Categories