Answer Posted / arun asokan
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
int temp=1;
for(i=1;i<4;i++)
{
printf("\n")
for(j=1;j<=i;j++)
{
printf("%d",temp);
temp++;
}
}
}
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do you construct an increment statement or decrement statement in C?
Is it better to use a macro or a function?
What is the symbol indicated the c-preprocessor?
What is the general form of a C program?
Why doesnt that code work?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What are type modifiers in c?
Where static variables are stored in c?
Differentiate between calloc and malloc.
Is a house a shell structure?
Why header file is used in c?
How can I open files mentioned on the command line, and parse option flags?
What is the difference between exit() and _exit() function in c?
Tell us bitwise shift operators?