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 is stack , heap ,code segment,and data segment

2221


Why we use stdio h in c?

579


Why doesnt long int work?

612


Write a program with dynamically allocation of variable.

602


When is a null pointer used?

641






Can you pass an entire structure to functions?

695


What is a program flowchart and how does it help in writing a program?

662


If the size of int data type is two bytes, what is the range of signed int data type?

593


Why c is procedure oriented?

572


What is the 'named constructor idiom'?

640


What is a void pointer in c?

607


How do we declare variables in c?

568


What is the function of this pointer?

674


Why do we need functions in c?

557


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

2517