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


Please Help Members By Posting Answers For Below Questions

Explain high-order bytes.

666


What is an auto variable in c?

740


how do you execute a c program in unix.

628


Describe static function with its usage?

597


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

1635






What are the different types of pointers used in c language?

604


What is dynamic memory allocation?

795


What is a 'null pointer assignment' error?

714


program for reversing a selected line word by word when multiple lines are given without using strrev

1934


What is the purpose of the preprocessor directive error?

669


Do you know the purpose of 'register' keyword?

633


What is the purpose of main() function?

646


how many errors in c explain deply

1621


What is the difference between single charater constant and string constant?

615


Can we change the value of static variable in c?

550