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
How can I automatically locate a programs configuration files in the same directory as the executable?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What is the difference between declaring a variable by constant keyword and #define ing that variable?
If I have a char * variable pointing to the name of a function ..
What are c preprocessors?
How do you define a string?
What is the c value paradox and how is it explained?
What are structures and unions? State differencves between them.
Why is c not oop?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
What are the header files used in c language?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What are different storage class specifiers in c?
Why we use stdio h in c?