Write a programe print the sum of series 0,1,2,.....10
Answer Posted / s.m.jyo
main()
{
int i;
printf("sum of series is:");
for(i=0;i=10;i++)
i=i+i;
scanf("%d",&i);
printf("%d",i);
}
Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All Answers
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Explain the concept and use of type void.
What is the equivalent code of the following statement in WHILE LOOP format?
What is the use of getchar() function?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
What are the types of data files?
What is the purpose of 'register' keyword?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What is page thrashing?
What is the difference between the local variable and global variable in c?
What is a good data structure to use for storing lines of text?
What is sizeof return in c?
What is f'n in math?
What is the purpose of & in scanf?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?