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
When we use void main and int main?
What are the different types of pointers used in c language?
Differentiate fundamental data types and derived data types in C.
What is difference between constant pointer and constant variable?
What does the function toupper() do?
Write a c program to demonstrate character and string constants?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
Can you think of a logic behind the game minesweeper.
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
How can a program be made to print the line number where an error occurs?
What are the complete rules for header file searching?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
Why array is used in c?
i got 75% in all semester am i eligible for your company