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 / deepanjali
infinte loop
| Is This Answer Correct ? | 4 Yes | 10 No |
Post New Answer View All Answers
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
I have seen function declarations that look like this
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
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.
Can a pointer point to null?
How many types of arrays are there in c?
Is there any possibility to create customized header file with c programming language?
What are # preprocessor operator in c?
What is substring in c?
What are conditional operators in C?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
How can I read and write comma-delimited text?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
What are c preprocessors?