Answer Posted / manojkumar challagundla
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
int ctr=1;
for(i=1;i<=4;i++)
{
printf("\n")
for(j=1;j<=i;j++)
{
printf("%d",ctr);
ctr++;
}
}
}
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Is fortran faster than c?
What language is windows 1.0 written?
What are different types of variables in c?
Are there any problems with performing mathematical operations on different variable types?
Write a progarm to find the length of string using switch case?
Write a Program to find whether the given number or string is palindrome.
How does struct work in c?
In which layer of the network datastructure format change is done
What is omp_num_threads?
What is derived datatype in c?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
Do you know null pointer?
Describe the modifier in c?
Explain what is operator promotion?