edited by
362 views
0 votes
0 votes

Which among following statements is/are TRUE?

  1. & is bit-wise and && is a logical operator
  2. & returns an integer value whereas && returns a boolean value
  3. Both the above options are correct
  4. Both (A) and (B) are incorrect
edited by

Please log in or register to answer this question.

Answer:

Related questions

3 votes
3 votes
1 answer
2
Bikram asked May 14, 2017
392 views
Assume that $a[4]$ is a one-dimensional array of $4$ elements, $p$ is a pointer variable and $p = a$ is performed. Now, which among these expressions is illegal?$p == a[0...
0 votes
0 votes
1 answer
3
Bikram asked May 14, 2017
351 views
Spot the error(s) in this code snippet :int n=2; // Line 1 switch(n) { case 1.5: printf( "gate"); break; case 2: printf( "overflow"); break; case 'A': printf("gateoverflo...
0 votes
0 votes
1 answer
4
Bikram asked May 14, 2017
198 views
#include<stdio.h int K = 10; int main() { foo(); foo(); return 0; } int foo() { static int k= 1; printf("%d ",k); k++; return 0; }What is the output of the above code sni...