12345
1234
123
12
1
Answers were Sorted based on User's Feedback
Answer / malik
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
for(i=5;i>=0;i--)
{
for(j=1;j<=i;j++)
{
printf("%d", j);
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / prachi
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d", i);
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 2 Yes | 3 No |
Eight queens puzzle
What does 1f stand for?
What is the difference between #include <header file> and #include “header file”?
what information does the header files contain?
6 Answers BSNL, Cisco, GDA Technologies,
Can we declare variables anywhere in c?
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
What is ## preprocessor operator in c?
All technical questions
WHAT IS FLOAT?
program for validity of triangle from 3 side
What is difference between constant pointer and constant variable?
wat are the two methods for swapping two numbers without using temp variable??