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");
}



What will be the result of the following C language program? main() { int a = 0; int b = 20; char..

Answer / vinod

It will print "Welcome"

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Interview Questions

What is a symbolic constant?

1 Answers  


What is the function of volatile in c language?

0 Answers  


Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0

6 Answers   Qualcomm,


What are terms in math?

0 Answers  


4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. i have done maximum par but i m findind problem in the commented area. please help...

3 Answers  






Explain the differences between public, protected, private and internal.

2 Answers  


Define a structure to store the record of library. The record must consist of at least following fields: Title, Author, Edition, Price, Publisher, and Category. -Define functions authorSearch ( ), TitleSearch ( ) and CategorySearch ( ) to search a book with respect to author, title and category. [There can be more than one book, written by one author, in one category]

2 Answers  


main is a predefined or user define function if user defined why? if predefined whay?

12 Answers   TCS,


What is main function in c?

0 Answers  


why we are using semicolon at the end of printh statment

2 Answers   HCL,


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

0 Answers  


Explain how can I convert a string to a number?

0 Answers  


Categories