how can i make a program with this kind of output..
Enter a number: 5
0
01
012
0123
01234
012345
01234
0123
012
01
0
Answer Posted / vignesh1988i
A SMALL chnge in the above program... in first for loop 'n'
must be changed as 'm'
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
How can you be sure that a program follows the ANSI C standard?
What is mean by data types in c?
What is the difference between constant pointer and constant variable?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
What is the meaning of typedef struct in c?
What is the difference between abs() and fabs() functions?
Can include files be nested? How many levels deep can include files be nested?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What is the use of bit field?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Why n++ execute faster than n+1 ?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What is the purpose of scanf() and printf() functions?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
Why are all header files not declared in every c program?