what is the output of below pgm?
void main()
{
int i=0;
if(i)
printf("pass");
else
printf("fail");
}

Answer Posted / vignesh1988i

FAIL



THANK U

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to know whether the input number is an armstrong number.

674


How can I change their mode to binary?

698


Write a program to print factorial of given number using recursion?

606


What are preprocessor directives in c?

639


What are the three constants used in c?

547






What is difference between stdio h and conio h?

888


What is pass by reference in c?

615


What is difference between constant pointer and constant variable?

631


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

627


How do you override a defined macro?

703


What does a function declared as pascal do differently?

608


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

712


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

1597


What does calloc stand for?

652


What are loops in c?

552