print 1-50 with two loop & two print Statement
Answers were Sorted based on User's Feedback
Answer / ksambhaji999
For(i=1;i<50;i=i
+2)
{ printf
("%d",i);
for(j=2;j<51;j++)
{ printf
("%d",j);}
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ravindra kushwaha
for(int i=1;i<=25;i++)
{
printf("%d",i)
}
for(int j=25;j<=50;j++)
{
printf("%d",j)
}
| Is This Answer Correct ? | 1 Yes | 0 No |
What is undefined behavior?
In C programming, what command or code can be used to determine if a number of odd or even?
Difference between Shallow copy and Deep copy?
How to print "Hi World" without using semi colon?
What is identifier in c?
How do you construct an increment statement or decrement statement in C?
How are Structure passing and returning implemented by the complier?
What is c++ used for today?
Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stderr D)All the above
an algorithem for the implementation of circular doubly linked list
int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output?
can we write a program in c for printf and scanf without using header file stdio.h