Write a C program to print 1 2 3 ... 100 without using
loops?
Answer Posted / maxerp
In general, by using recursion, since it is the only
alternative to looping constructs
| Is This Answer Correct ? | 11 Yes | 12 No |
Post New Answer View All Answers
Does * p ++ increment p or what it points to?
What are the features of the c language?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
Where does the name "C" come from, anyway?
What is scope and lifetime of a variable in c?
What are the uses of a pointer?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
How can you find the exact size of a data type in c?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What is the difference between struct and typedef struct in c?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
What are the different properties of variable number of arguments?
What is a header file?