what is the output of below pgm?
void main()
{
int i=0;
if(i)
printf("pass");
else
printf("fail");
}
Answer Posted / srikanth patchava
fail
if check value is thear or not ..if its thear it will got
frist printf other wise it will goto second printf
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
Describe the difference between = and == symbols in c programming?
How can I manipulate individual bits?
Explain the difference between call by value and call by reference in c language?
What are the 4 types of organizational structures?
What are the __date__ and __time__ preprocessor commands?
What does typeof return in c?
What are void pointers in c?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Why is a semicolon (;) put at the end of every program statement?
Which type of language is c?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What is the data segment that is followed by c?
can anyone suggest some site name..where i can get some good data structure puzzles???
Difference between linking and loading?