how does the for loop work actually..suppose for the
following program how it ll work plz explain to me
for(i=5;i>=0;i--)
prinf(i--);

Answer Posted / vishnu

ur printf syntax is wrong so..u'll will get syntax error

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of pointers?

786


What are the 4 types of functions?

802


Why we use int main and void main?

797


What is a constant?

820


What is the difference between a free-standing and a hosted environment?

905


What is the difference between functions getch() and getche()?

830


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3244


How is actual parameter different from the formal parameter?

798


What do you mean by c what are the main characteristics of c language?

799


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

2476


Explain what math functions are available for integers? For floating point?

855


What are called c variables?

783


What is meant by int main ()?

950


What is the newline escape sequence?

835


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.

2025