write a program whose output will be-
1
12
123
1234
Answer Posted / ck
#include<stdio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j==)
{
printf("%d ",j);
}
printf("/n");
}
getch();}
| Is This Answer Correct ? | 4 Yes | 10 No |
Post New Answer View All Answers
what are bit fields in c?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What are the 4 types of organizational structures?
Do array subscripts always start with zero?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
what is event driven software and what is procedural driven software?
What is the difference between a free-standing and a hosted environment?
Explain about C function prototype?
Explain how can I convert a number to a string?
Explain what does the format %10.2 mean when included in a printf statement?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Differentiate between calloc and malloc.
What is pointers in c with example?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What is the difference between text and binary modes?