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
How can you find out how much memory is available?
Explain what is meant by 'bit masking'?
What is boolean in c?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
Write a program to implement queue.
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
Can we access the array using a pointer in c language?
Explain the use of fflush() function?
What are the types of operators in c?
find the sum of two matrices and WAP for it.
Is python a c language?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
Explain the difference between malloc() and calloc() in c?
Give differences between - new and malloc() , delete and free() ?
What is array in C