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
What does the characters “r” and “w” mean when writing programs that will make use of files?
Write a progarm to find the length of string using switch case?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
Can a function argument have default value?
How can I list all of the predefined identifiers?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
Explain the use of keyword 'register' with respect to variables.
What is the difference between class and object in c?
What is the equivalent code of the following statement in WHILE LOOP format?
What does c mean in basketball?
Do you know null pointer?
What is wrong with this declaration?
Explain how can you tell whether two strings are the same?
How pointers are declared?