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 |
What is line in c preprocessor?
Write a code to generate divisors of an integer?
What do you mean by scope of a variable in c?
When is a “switch” statement preferable over an “if” statement?
What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c<u) printf("pass2"); else printf("Fail2");} else printf("Fail1); if(i<u) printf("pass2"); else printf("Fail2") } a)Pass1,Pass2 b)Pass1,Fail2 c)Fail1,Pass2 d)Fail1,Fail2 e)none
What is return in c programming?
What is the difference between array and structure in c?
study the code: #include<stdio.h> void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above
What is the return type of sizeof?
Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()
Why does everyone say not to use gets?
how to use showbits function?