please give code for this 1 2 4 7 11 16
Answer Posted / ashis 6
#include<studio.h>
#include<conio.h>
Void main()
{
Int x,y;
Y=0;
For(x=1;x<=6;x++)
{
Printf("%d",y);
Y=x+y
}
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What is the purpose of 'register' keyword?
State the difference between realloc and free.
Add Two Numbers Without Using the Addition Operator
What is a char in c?
What is a structure and why it is used?
Write a program to swap two numbers without using the third variable?
Differentiate between Macro and ordinary definition.
What is clrscr in c?
What does emoji p mean?
Are the variables argc and argv are local to main?
Where register variables are stored in c?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Can a pointer be null?
Write a program to print fibonacci series using recursion?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..