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 / sindhura
it gives an error ,because prinf statement not given
correctly.if the printf statement is given as printf("\t%d",i--)
then the output of the prgm will be,
5 4 3 2 1 0
Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
Can a variable be both const and volatile?
Are the variables argc and argv are local to main?
What language is lisp written in?
Why c language?
What are dangling pointers? How are dangling pointers different from memory leaks?
Why shouldn’t I start variable names with underscores?
Is there any possibility to create customized header file with c programming language?
define string ?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
When c language was developed?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What is the difference between typedef struct and struct?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
What are the features of c language?
What is a substring in c?