what would be the output of the follwing
struct st
{
char name[20];
int i;
float f;
};
main()
{
struct st emp = {"forum"};
printf("%d %f",emp.i,emp.f);
}
Post New Answer View All Answers
What are the similarities between c and c++?
What is operator promotion?
What are the various types of control structures in programming?
Can a pointer be volatile in c?
Where can I get an ansi-compatible lint?
Write program to remove duplicate in an array?
Explain how are 16- and 32-bit numbers stored?
What are valid operations on pointers?
What is keyword in c?
Differentiate between functions getch() and getche().
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
write a program fibonacci series and palindrome program in c
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.
write a program to find out prime number using sieve case?
Tell me what are bitwise shift operators?