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 |
To what value do nonglobal variables default? 1) auto 2) register 3) static
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?
7 Answers AMCAT, HCL, Ramco, Zycus Infotech,
without using arithmatic operator solve which number is greater??????????
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What is the difference between fread buffer() and fwrite buffer()?
Can i use Two or More Main Funtion in any C program.?
What is pass by reference in c?
Write a C++ program to give the number of days in each month according to what the user entered. example: the user enters June the program must count number of days from January up to June
How pointers are declared?
what is the use of fflush() function?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
0 Answers Lovely Professional University,