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
Write a C program to count the number of email on text
I need previous papers of CSC.......plz help out by posting them.......
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
explain memory layout of a C program
What is the advantage of a random access file?
pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?
2 Answers eClerx, Excel, kenexa,
main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }
What does c mean in standard form?
can we write a c program with out using main
What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;
What is the purpose of main() function?
What is the use of the restrict keyword?