12344321
123 321
12 21
1 1 how i print this program??
Answer Posted / venkat
#include<stdio.h>
void main()
{
int i,j,k=4,n=4;
for(i=0;i<n;i++)
{
for(j=1;j<=n-i;j++)
{
printf("%d",j);
}
printf(" ");
for(j=0;j<n-i;j++)
{
printf("%d",k-j);
//k--;
}
--k;
printf("
");
}
}
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
Do pointers store the address of value or the actual value of a variable?
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
Can a pointer be volatile in c?
What is assert and when would I use it?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
What are the types of assignment statements?
What is a function simple definition?
Explain how can I write functions that take a variable number of arguments?
What does it mean when the linker says that _end is undefined?
What are the 5 data types?
Is it acceptable to declare/define a variable in a c header?
What is array of pointers to string?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
Why should I use standard library functions instead of writing my own?