What should be keep precautions while using the recursion
method?
Answer / harshal shah
Ans: 1)There should not be any uninitialized pointer.
2)Always allocated memory should be deallocate at
the end of recusion function or object.
3)Alwas declare one End point condition.
| Is This Answer Correct ? | 12 Yes | 0 No |
#‎include‬<stdio.h> void main() { int i; for(i=5;0;i++) { printf("%d",i); } }
will u give me old quesrion papers for aptitude for L & t info tech?
Explain spaghetti programming?
Explain goto?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
please tell me the logic for this C program : INPUT (string):ABCD OUTPUT :BCDA CDAB DABC
What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }
write a C and C++ programme to implement the A,bubble sort B,quick sort C,insertion sort D,sequential search E,binary search
#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }
what is constant pointer?
write a program for size of a data type without using sizeof() operator?
22 Answers HCL, IBM,
Write a program to produce the following output in c language? 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1