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 / rani
output is
-128
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
Give the rules for variable declaration?
Why is void main used?
How can I find the modification date of a file?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
Explain what are header files and explain what are its uses in c programming?
Is register a keyword in c?
How do we declare variables in c?
What does s c mean in text?
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
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.
Describe newline escape sequence with a sample program?
Can we assign string to char pointer?
Write a C program to count the number of email on text
What are linker error?
Is array name a pointer?