Stimulate calculator using Switch-case-default statement for
two numbers


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

size maximum allocated by calloc()

3 Answers   DELL,


write a program to create a sparse matrix using dynamic memory allocation.

0 Answers  


Explain the difference between exit() and _exit() function?

0 Answers  


Input any no. and print all the the numbers that comes before it like this for e.g input = 4 0 01 012 0123 01234 plz answer it 2day

3 Answers  


#include<stdio.h> #include<conio.h> int main() { int a[4][4]={{5,7,5,9}, {4,6,3,1}, {2,9,0,6}}; int *p; int (*q)[4]; p=(int*)a; q=a; printf("\n%u%u",p,q); p++; q++; printf("\n%u%u",p,q); getch(); return 0; } what is the meaning of this program?

2 Answers  


What are dangling pointers?

1 Answers  


Is it better to use malloc() or calloc()?

0 Answers   Aspire, Infogain,


Explain how can I convert a string to a number?

0 Answers  


Is sizeof a keyword in c?

0 Answers  


How to write a program to receive an integer & find its octal equivalent by using for loop?

1 Answers   Google,


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.

0 Answers   Microsoft,


Are the expressions * ptr ++ and ++ * ptr same?

0 Answers  


Categories