progrem to generate the following series
1
12
123
1234
12345
Answer Posted / banavathvishnu
main()
{
int a;
int temp =0;
for(i=1;i<=5;i++)
{
temp = temp *10 +i;
printf("%d",temp);
}
| Is This Answer Correct ? | 23 Yes | 19 No |
Post New Answer View All Answers
Why do we use null pointer?
Why doesnt long int work?
Why can’t constant values be used to define an array’s initial size?
Write a program of advanced Fibonacci series.
Explain indirection?
What does %2f mean in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
Which is better pointer or array?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
Which function in C can be used to append a string to another string?
What is masking?
What does %d do in c?
What is array in c with example?
What is a pragma?