Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C program to Print Fibonacci series upto n using recursion:
int fibo(long int);
void main()
{
long int a=0,n;
printf ("how many terms");
scanf("%d",&n);
for(int i=1;i<=n;i++)
{a=fibo(i);
printf("%d ",a);
}
fibo(long int m)
long int x;
if(m>2)
x=fibo(m-1)+fibo(m-2);
return x;
else if(m==2)
return 1;
else if(m==1)
{return 0;}
OUTPUT
How does free know the size of memory to be deleted.? int *i = (int *)malloc(12); followed by free(i); how did free function call know how much of memory to delete? A: It bas
program code
Unions A union is also like a structure, except that only single variable in the union is stored in the allocated memory at a time. It is a collection of mutually exclusive var
Write a C# program to compute the Net Pay for employees. The program is to have a Main method and two user-defined methods. The Main method is to input the employee's name (string)
bar chart and pie chart programs with source code
Define some features of register storage class in c program? The feature of variable defined to be of register type all as follows: Storage - CPU registers Default initia
pseudocode for gregorian calendar
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
program area under the curve y=f(x) between x=a & y=b, integrate y=f(x) between the limits of a & b Solution: #include float start_point, /* GLOBAL V
Create a class Word, representing a word. Two words should be considered equal if they consist of the same sequence of letters and we consider upper case and lower case as equal. F
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd