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
What is the difference between the local variable and global variable in c?
What do the functions atoi(), itoa() and gcvt() do?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
Describe wild pointers in c?
Are the variables argc and argv are always local to main?
Can include files be nested? How many levels deep can include files be nested?
Do array subscripts always start with zero?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
write a program to print largest number of each row of a 2D array
write a program in c language to print your bio-data on the screen by using functions.
Implement bit Array in C.
Difference between exit() and _exit() function?
What is equivalent to ++i+++j?
What is the difference between array_name and &array_name?
What is printf () in c?