print numbers till we want without using loops or condition
statements like specifically(for,do while, while swiches,
if etc)!
Answer Posted / akshay babar
#include<stdio.h>
int print(int i)
{
if(i>0)
return print(printf("%d", i--));
else
return 1;
}
main()
{
print(100);
return 0;
}
Is This Answer Correct ? | 2 Yes | 11 No |
Post New Answer View All Answers
How to palindrom string in c language?
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
Write a routine to implement the polymarker function
why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?
can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
Develop a routine to reflect an object about an arbitrarily selected plane
What is full form of PEPSI
could you please send the program code for multiplying sparse matrix in c????
how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.
How can you relate the function with the structure? Explain with an appropriate example.
write a simple calculator c program to perform addition, subtraction, mul and div.
Sir... please give some important coding questions asked by product companies..
Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??