What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
No Answer is Posted For this Question
Be the First to Post Answer
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
Program to write some contents into a file using file operations with proper error messages.
What kind of structure is a house?
Explain what is wrong with this program statement?
Differentiate between ordinary variable and pointer in c.
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
How can this be legal c?
Find the O/p of the following struct node { char *name; int num; }; int main() { struct node s1={"Harry",1331}; struct node s2=s1; if(s1==s2) printf("Same"); else printf("Diff"); }
what is the difference between c and c++?
Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms
What is meaning of tree
What are the types of unary operators?