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 / abhishek roy
Yes there is syntax error in printf statement but if write
printf("%d",i--)then The output for the given for loop is
5 3 1.
it is 100 % write....
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What header files do I need in order to define the standard library functions I use?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
Why is c so important?
What are the types of bitwise operator?
C language questions for civil engineering
write a c program to find the sum of five entered numbers using an array named number
where are auto variables stored? What are the characteristics of an auto variable?
Write a program to reverse a linked list in c.
What are the __date__ and __time__ preprocessor commands?
What are type modifiers in c?
Explain what does the function toupper() do?
Explain how do you declare an array that will hold more than 64kb of data?
Write a program to print fibonacci series using recursion?
What is the advantage of a random access file?