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 |
How to declare a variable?
Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stderr D)All the above
what is the difference between declaration and definition of a variable or function ?
What will be the result of the following C language program? main() { int a = 0; int b = 20; char x = 1; char y = 10; if(a,b,x,y) printf("Welcome"); }
main() { clrscr(); } clrscr();
what are the stoge class in C and tel the scope and life time of it?
What is #include stdio h and #include conio h?
what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }
difference between c and c++?
#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }
main() { int i; printf("%d",i^i); }
how to execute a program using if else condition and the output should enter number and the number is odd only...