here, the function argument “&num” is passed .
a. by value b. by reference
iii. practice
create a tree, incomplete solution.
#include
#include
struct tree{
char info;
p_sub; //link to sub-nodes
};
// allocate memory and initiate
void dnode ( struct tree tmp )
{
=malloc( sizeof (struct tree) );
= 0x41;
= null;
}
struct tree dtree (struct tree subtree, int height, int ht == 1 )
return subtree;
else if ( height == 2 ) {
struct tree leaf = null;
for ( i=0; i
狠男人小说最快更新,无弹窗阅读请。
本章未完,请翻开下方下一章继续阅读