plz send me all data structure related programs
Answers were Sorted based on User's Feedback
Answer / prof.muthu
stack,queue,tree,graph....
these are muthu's data structure...,
plant,fruits,line
if u want to learn my data structure please feel free to
call me!
ph:+919962940220
by prof.muthu....(c/o Anitha mosess)
| Is This Answer Correct ? | 2 Yes | 4 No |
In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }
How do you create a really large matrix (i.e. 3500x3500) in C without having the program crash? I can only reach up to 2500. It must have something to do with lack of memory. Please help!
create a login program that ask username and password. if you input username or password 3 times wrong, the program will terminate else the program will prompt a message "congratulations"
void main() { int i=10, j=2; int *ip= &i, *jp = &j; int k = *ip/*jp; printf(“%d”,k); }
Link list in reverse order.
Write a program to model an exploding firecracker in the xy plane using a particle system
Write a procedure to implement highlight as a blinking operation
char *someFun() { char *temp = “string constant"; return temp; } int main() { puts(someFun()); }
main( ) { int a[ ] = {10,20,30,40,50},j,*p; for(j=0; j<5; j++) { printf(“%d” ,*a); a++; } p = a; for(j=0; j<5; j++) { printf(“%d ” ,*p); p++; } }
main() { char * strA; char * strB = I am OK; memcpy( strA, strB, 6); } a. Runtime error. b. I am OK c. Compile error d. I am O
prog. to produce 1 2 3 4 5 6 7 8 9 10
What are the following notations of defining functions known as? i. int abc(int a,float b) { /* some code */ } ii. int abc(a,b) int a; float b; { /* some code*/ }