Write the recursive algorithm to find x^ n.
float power(float x, int n) { if(x=0) { return 0; } else if(n==0) { return 1; } if(n>0) { return x * power(x,n-1); } }
What is a self referential structure? What is difference between Union & Structure?
a) Define big O notations.
b) \( {T(n) = 4n^{2}+3n \log_{}{n} } \), express T( n ) in Big( O ) notations.
Write a C program to find the roots of a quadratic equation.
Write a C program to print pattern below:
*
* *
* * *
* * * *
Difference between ISO and CMM standards.
Write an program to generate Pascal’s triangle.