int j =15,i;
for (i=1; 1<5; ++i)
{printf ("%d%d
",j,i);
j = j-3;
}
Answers were Sorted based on User's Feedback
Answer / arun
Infinite Loop....Loop does not end...Because condition 1<5 is always True then the answer like this..,
151
122
93
64
35
06
-37
.
.
.
| Is This Answer Correct ? | 6 Yes | 0 No |
What is keyword in c?
main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Is c a great language, or what?
write a program in reverse the string without using pointer,array,global variable declaration,lib fun only using a function?
write a c program to find the square of a 5 digit number and print the result.
5 Answers Accenture, Sasken, Vimukti Technologies,
Tell me what are bitwise shift operators?
What is #ifdef ? What is its application?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
a simple program in c language
char p="data"; printf(p);
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.