C
Programming and Technical
Programming
Output
#include
int main()
{
int i;
while(sizeof(NULL))
{
printf("inside loop");
continue;
break;
}
return 0;
}
Read Solution (Total 3)
-
- "inside loop" is printed infinite number of times. since it returns positive integer value
- 7 years agoHelpfull: Yes(1) No(0)
- Ans: the loop is infinite times as break keyword is not reachable as continue keyword is used.
- 7 years agoHelpfull: Yes(1) No(0)
- here sizeof(NULL) means 4 byte and sizeof("") means sizeof(character)=1,so it is sizeof("")=1 / always true,
and sizeof(NULL) means 4 so,this program is return o; - 5 years agoHelpfull: Yes(0) No(0)
C Other Question