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 / rima
It will give compilatiin error "warning: passing argument 1
of âprintfâ makes pointer from integer without a cast",
because the syntax of printf is not right.
And it would have been printf("%d",i--);
Then correct answer is 531.
This is the correct answer rest all are wrong.[:)]
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Why c is known as a mother language?
Explain #pragma statements.
When do we get logical errors?
What are the 5 organizational structures?
What is function prototype in c language?
What are the advantages and disadvantages of a heap?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
show how link list can be used to repersent the following polynomial i) 5x+2
What is fflush() function?
What is difference between far and near pointers?
What is the correct declaration of main?
Can a program have two main functions?
Explain how can I pad a string to a known length?
What is meant by operator precedence?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .