what does the following function print?
func(int i)
{
if(i%2)return 0;
eale return 1;
}
main()
{
int =3;
i=func(i);
i=func(i);
printf("%d",i);}
Post New Answer View All Answers
Is there anything like an ifdef for typedefs?
Can I initialize unions?
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.
Explain setjmp()?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What is the use of pragma in embedded c?
Differentiate between the = symbol and == symbol?
What language is c written?
Explain what is page thrashing?
What is return in c programming?
Which is the memory area not included in C program? give the reason
number of times a digit is present in a number
What are different storage class specifiers in c?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
The statement, int(*x[]) () what does in indicate?