void main(int n)
{
if(n==0)
return;
main(--n);
printf("%d ",n);
getch();
}
how it work and what will be its output...............it any
one know ans plz reply
No Answer is Posted For this Question
Be the First to Post Answer
Explain Function Pointer?
What is undefined behavior?
HOW TO SWAP TWO NOS IN ONE STEP?
What are the types of variables in c?
write a programme that inputs a number by user and gives its multiplication table.
What is the difference between malloc() and calloc() function in c language?
#include<stdio.h> int SumElement(int *,int); void main(void) { int x[10]; int i=10; for(;i;) { i--; *(x+i)=i; } printf("%d",SumElement(x,10)); } int SumElement(int array[],int size) { int i=0; float sum=0; for(;i<size;i++) sum+=array[i]; return sum; } output?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
Was 2000 a leap year?
main() { int x=5,y=10,z=0; x=x++ + y++; y=y++ + ++x; z=x++ + ++y; printf("%d%d%d\n",x,y,z); }
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.