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 |
In a byte, what is the maximum decimal number that you can accommodate?
Can main () be called recursively?
different between overloading and overriding
How can you be sure that a program follows the ANSI C standard?
How can I manipulate strings of multibyte characters?
Define a structure to store the record of library. The record must consist of at least following fields: Title, Author, Edition, Price, Publisher, and Category. -Define functions authorSearch ( ), TitleSearch ( ) and CategorySearch ( ) to search a book with respect to author, title and category. [There can be more than one book, written by one author, in one category]
#include<stdio.h> int main() { int i=2; int j=++i + ++i + i++; printf("%d\n",i); printf("%d\n",j); }
main() { int a[10]; printf("%d",*a+1-*a+3); }
Why do we need arrays in c?
Explain what is the benefit of using enum to declare a constant?
What does it mean when a pointer is used in an if statement?
What is difference between the following 2 lines…. int temp = (int)(0x00); int temp = (0x00int);