12344321
123 321
12 21
1 1 how i print this program??
Answer Posted / sunitha
for(i=1;i<=5;i++)
{
for(j=1;j<=i;i++)
{
for(k=1;k<=j;k++)
printf("%d",k);
k--;
printf("%d",k);
}
}
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How can I read in an object file and jump to locations in it?
What is the value of h?
Explain what are the standard predefined macros?
What is wrong with this statement? Myname = 'robin';
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
How can I trap or ignore keyboard interrupts like control-c?
What is difference between constant pointer and constant variable?
in linking some of os executables are linking name some of them
Which control loop is recommended if you have to execute set of statements for fixed number of times?
List the difference between a While & Do While loops?
How can I avoid the abort, retry, fail messages?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
program to convert a integer to string in c language'
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference