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
Between macros and functions,which is better to use and why?
What is modeling?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
What is keyword in c?
Tell me when would you use a pointer to a function?
Explain the priority queues?
Explain about the constants which help in debugging?
What does c mean in basketball?
What is the process of writing the null pointer?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Explain how many levels deep can include files be nested?
Explain how can I remove the trailing spaces from a string?
Why c is known as a mother language?
Can we change the value of static variable in c?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.