What does the && operator do in a program code?



What does the && operator do in a program code?..

Answer / Reenu

The && (AND) operator tests whether both of its operands are true. If both expressions on either side of the AND operator are non-zero or pointers that are not null, then the expression is considered true.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What are pointers? Why are they used?

1 Answers  


void main() { int i=5; printf("%d",i+++++i); }

17 Answers   ME,


what is the output of printf("%d",(scanf("%d",10));

10 Answers  


explain what is a newline escape sequence?

1 Answers  


#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }

3 Answers   VB,


What is the difference between union and anonymous union?

0 Answers   Hexaware,


What does sizeof int return?

1 Answers  


Explain what is the advantage of a random access file?

1 Answers  


WAP TO ACCEPT STRING AND COUNT A COMES N TIMES B COMES N TIMES C COMES N TIMES D COMES N TIMES AND SO ON......... AT LAST UNTIL Z COMES N TIMES...............

3 Answers  


Why c is called top down?

1 Answers  


is forign key will be unique key any table or not?

2 Answers  


Is Exception handling possible in c language?

1 Answers   Wipro,


Categories