What is spaghetti programming?
No Answer is Posted For this Question
Be the First to Post Answer
Write a program with dynamically allocation of variable.
Write a simple code fragment that will check if a number is positive or negative.
How would you print out the data in a binary tree, level by level, starting at the top?
void main() { static int i = 5; if(--i) { main(); printf("%d ",i); } } what would be output of the above program and justify your answer? }
5 Answers C DAC, CDAC, Infosys, Wipro,
Explain what are the standard predefined macros?
What is the use of function overloading in C?
void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }
Explain how can I prevent another program from modifying part of a file that I am modifying?
Tell me what are bitwise shift operators?
Differentiate between a structure and a union.
what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year
How can I send mail from within a c program?