What is the output of the program given below
#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}
Answer Posted / mohmedali
0
Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
Write a program to reverse a string.
What is the time and space complexities of merge sort and when is it preferred over quick sort?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
Why do we use int main?
How can I automatically locate a programs configuration files in the same directory as the executable?
What are c preprocessors?
What does *p++ do? What does it point to?
Why is c so powerful?
When should you not use a type cast?
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.
What's a good way to check for "close enough" floating-point equality?
Give the rules for variable declaration?
Apart from dennis ritchie who the other person who contributed in design of c language.
How can I find out the size of a file, prior to reading it in?