What Is The Advantage Of Clustering ?
1003
Explain the main purpose of google analytics?
101
What is intermediate langauge?
959
What are the characteristics of personnel area?
945
#include
#include
#include
#include
void insert(struct btreenode **, int);
void inorder(struct btreenode *);
struct btreenode
{
struct btreenode *leftchild;
struct btreenode *rightchild;
int data;
};
main()
{
struct btreenode *bt;
bt=(struct btreenode *)NULL;
int req,i=1,num;
clrscr();
printf("Enter number of nodes");
scanf("%d",&req);
while(i<=req)
{
printf("Enter element");
scanf("%d",&num);
insert(&bt,num);
i++;
}
inorder(bt);
}
void insert(struct btreenode **sr, int num)
{
if(*sr==NULL)
{
*sr=(struct btreenode *)malloc (sizeof(struct btreenode));
(*sr)->leftchild=(struct btreenode *)NULL;
(*sr)->rightchild=(struct btreenode *)NULL;
(*sr)->data=num;
return;
}
else
{
if(num < (*sr)->data)
insert(&(*sr)->leftchild,num);
else
insert(&(*sr)->rightchild,num);
}
return;
}
void inorder(struct btreenode *sr)
{
if(sr!=(struct btreenode *)NULL)
{
inorder(sr->leftchild);
printf("\n %d",sr->data);
inorder(sr->rightchild);
}
else
return;
}
please Modify the given program and add two methods for post
order and pre order traversals.
3752
Is there another way to get the same genetic trait
expressed in corn without the risk of being spread to other
organism?
1941
What is iKP ?
2174
Explain Optimization technique description?
1029
Mention the execution process for managed code?
982
How to Send object as message in JMS?
1369
How many types of data structures are used?
979
How do I turn on the ruler in word 2007?
584
Dears
we deal in Chemical are Plate earthing.
Kindly call if any requirement and questions.
Tech Earth Solutions
Mohit Verma
8791071007
1866
what is E1 ? and how this is work,what is data rate of 1
one E1 and why?
2661
What is ansible role and how are they different from the playbook?
1