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 |
Which driver is a pure java driver
What does == mean in texting?
what is the basis for selection of arrays or pointers as data structure in a program
What is the use of the #include directive?
which is the best antivirus and how to update it
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
How do you list a file’s date and time?
diff .between strcture and union
What are the different types of constants?
In which header file is the null macro defined?
#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.
main() { int i=0; while(+(+i--)!=0) i-=i++; printf(i); }