What is the output of below code?
main()
{
static in a=5;
printf("%3d",a--);
if(a)
main();
}
Answer Posted / moloy mondal
the output will be infinite no. of 5s ..bcoz integer a is
static its value wont b changed ever..
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Explain what are bus errors, memory faults, and core dumps?
What is the difference between ‘g’ and “g” in C?
What is call by value in c?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
How do you redirect a standard stream?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
Why do we use header files in c?
how can f be used for both float and double arguments in printf? Are not they different types?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
What is the general form of function in c?
How to create struct variables?
What is build process in c?
Why ca not I do something like this?
shorting algorithmS
What are the types of pointers?