Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / vivek
#include<stdio>
void main()
{
int i=1;
if(i<=100)
printf("%d",i);
i++;
continue;
getch;
}
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What are the back slash character constants or escape sequence charactersavailable in c?
Why array is used in c?
What are the 4 types of functions?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
How do you search data in a data file using random access method?
What are the string functions? List some string functions available in c.
i got 75% in all semester am i eligible for your company
Write the test cases for checking a variable having value in range -10.0 to +10.0?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is oops c?
Explain how can I convert a string to a number?
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.