What is a const pointer in c?
No Answer is Posted For this Question
Be the First to Post Answer
what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year
How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?
How can a process change an environment variable in its caller?
c program to compute Income tax and Net Salary for its employees. The company offers tax relief of Kshs. 650 for single employees and Kshs. 1,100 for married employees. The relief will be deducted from the Gross salary, to give the taxable income. This will be computed at the following rates: [10mks] Taxable Income Rate (%) <5000 0 5000-19999 6 20000-36999 9 37000 and above 16
What is the output of the below program and how it is? void main() { static int var=5; printf("%d",var--); if(var) main(); }
8 Answers MindFire, TCS, Tech Mahindra,
What math functions are available for integers? For floating point?
What is the difference between File pointer and Internal Charecter Pointer?
write a c program to check weather a particluar bit is set or not?
What is volatile variable in c?
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.
what are the different storage classes in c?
What is the Purpose of 'extern' keyword in a function declaration?