how should the function of creating the tree look like?how will recursion take place in the given function?
Type: Posts; User: Animesh Gaitond
how should the function of creating the tree look like?how will recursion take place in the given function?
i dont know how to create this kind of tree ,beacuse if i want to insert
A[6], it should become left child of A[3] , i cant understand the logic behind the problem;
array A[25] contains integers...
i hav started started studying binary trees.i m stuck with one problem,which is as follows:-
1)create a binary tree(not a binary search tree) in C using elements from a array[25] such that for...
please help me in writing a program for representing any graph in adjacency list and adjacency matrix.
i am currently studying algorithms which includes- time and space complexity, loop invarients ,pre-condition and post-condition,algoritms efficiency. please give me some useful links which have...
suppose , i have a file containing some integers and strings , and i
want a output containing integers seperated from string how should i use fscanf and fgetw functions.
kindly guide
for...
i m currently programming on fedora11 using gcc.
int x,a;
a=1;
x = a++ + a + ++a;
printf("%d\n", x);
The output for above expression is 4.
please explain why?
hey guys, i m studying file management in c and i wanted to know the
reference material and tutorials in files ,kindly help.post links related to files.
i tried my best but couldnt get it correctly.
what is the method used for reversing an array without using string library function?
how will you reverse the whole array?we are not supposed to use string library functions
my logic was that - 1)since there is a space at the end of first name ,transfer the last character of 1st name into space ,transfer 2nd last char of name in original place of last character ,and...
what is the logic used for solving this problem?we were asked to write this program in college
Write a program to take input from the user in the following format,
FIRSTNAME LASTNAME. Then swap the names such that the last name occurs first and the first name comes later i.e. LASTNAME...