Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Question about C

View previous topic View next topic Go down

Question about C

Post  Nishchal on Fri Jun 04, 2010 10:50 am

Another mind bender for you guys...

How many ways you can pass parameters to functions in C?
avatar
Nishchal
The Last Don

Posts : 55
Join date : 2010-05-22
Age : 32

View user profile http://gpdckullubca.forum-motion.com

Back to top Go down

Re: Question about C

Post  vijay thakur on Sat Jun 05, 2010 11:50 pm

well there r two types of passing argument in a function,
1.call by value
2.call by address

bt in practice only one method is applicable......i.e call by value
Razz
avatar
vijay thakur
Starters

Posts : 25
Join date : 2010-05-23
Age : 25
Location : kullu

View user profile

Back to top Go down

Re: Question about C

Post  Nishchal on Sat Jun 05, 2010 11:55 pm

vijay thakur wrote:well there r two types of passing argument in a function,
1.call by value
2.call by address

bt in practice only one method is applicable......i.e call by value
Razz
well done.......

The call by address is again achieved by passing the address directly, and C will always pass this address "by value".
avatar
Nishchal
The Last Don

Posts : 55
Join date : 2010-05-22
Age : 32

View user profile http://gpdckullubca.forum-motion.com

Back to top Go down

Re: Question about C

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum