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 ? | 8 Yes | 4 No |
Post New Answer View All Answers
What is sizeof in c?
What is the difference between #include
What does 3 periods mean in texting?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Can the sizeof operator be used to tell the size of an array passed to a function?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
What is the general form of a C program?
I came across some code that puts a (void) cast before each call to printf. Why?
What are extern variables in c?
Explain what is a const pointer?
What is #include cctype?
What is variable declaration and definition in c?
Is array a primitive data type in c?
What are the salient features of c languages?
Which function in C can be used to append a string to another string?