void main()
{
while(1){
if(printf("%d",printf("%d")))
break;
else
continue;
}
}
Answer Posted / susie
Answer :
Garbage values
Explanation:
The inner printf executes first to print some garbage value.
The printf returns no of characters printed and this value
also cannot be predicted. Still the outer printf prints
something and so returns a non-zero value. So it encounters
the break statement and comes out of the while statement.
Is This Answer Correct ? | 21 Yes | 3 No |
Post New Answer View All Answers
Develop a routine to reflect an object about an arbitrarily selected plane
write a program for area of circumference of shapes
What is full form of PEPSI
why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']
How can you relate the function with the structure? Explain with an appropriate example.
Cluster head selection in Wireless Sensor Network using C programming language.
why nlogn is the lower limit of any sort algorithm?
Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.
How to palindrom string in c language?
write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
#include
Sir... please give some important coding questions asked by product companies..