What will be the result of the following C language program?
main()
{
int a = 0; int b = 20; char x = 1; char y = 10;
if(a,b,x,y)
printf("Welcome");
}

Answer Posted / vinod

It will print "Welcome"

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by scope of a variable in c?

552


How can I insert or delete a line (or record) in the middle of a file?

579


Why c is called free form language?

577


Is it valid to address one element beyond the end of an array?

679


Why do we use null pointer?

609






Is c pass by value or reference?

605


What is main function in c?

553


How can you convert integers to binary or hexadecimal?

623


What is the use of bitwise operator?

694


how to execute a program using if else condition and the output should enter number and the number is odd only...

1663


What are actual arguments?

652


please explain every phase in the "SDLC" in the dotnet.

2182


Why c is a mother language?

560


What is #define size in c?

656


I came across some code that puts a (void) cast before each call to printf. Why?

687