x=2,y=6,z=6
x=y==z;
printf(%d",x)

Answer Posted / anand n

Ans:1


x=2,y=6,z=6//here x value is:2
x=y==z;//x=6 and y=6 so x is equal to y means its true,now
//x value is 1
printf(%d",x)

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is LINKED LIST? How can you access the last element in a linked list?

634


What is the difference between malloc() and calloc()?

618


What is scope and lifetime of a variable in c?

579


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1482


What is a pointer and how it is initialized?

610






What are register variables in c?

576


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

726


In a byte, what is the maximum decimal number that you can accommodate?

628


Write a program to maintain student’s record. Record should not be available to any unauthorized user. There are three (3) categories of users. Each user has its own type. It depends upon user’s type that which kind of operations user can perform. Their types and options are mentioned below: 1. Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record) 2. Super Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record, Delete Single Record) 3. Guest (Search Record [by Reg. No or Name], View All Records) When first time program runs, it asks to create accounts. Each user type has only 1 account (which means that there can be maximum 3 accounts). In account creation, following options are required: Login Name: <6-10 alphabets long, should be unique> Password: <6-10 alphabets long, should not display characters when user type> Confirm Password: Account Type: Login Name, Password and Account Type should be stored in a separate file in encrypted form. (Encryption means that actual information should be changed and Decryption means that Encrypted information is changed back to the actual information) If any of the above mentioned requirement(s) does not meet then point out mistake and ask user to specify information again. When Program is launched with already created accounts, it will ask for user name and password to authenticate. On successful authentication, give options according to the user’s type.

1514


How will you find a duplicate number in a array without negating the nos ?

1649


What are categories used for in c?

569


What are the disadvantages of c language?

623


C language questions for civil engineering

1246


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

656


define string ?

670