-
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int p = 2, q = 1;
p &&= q;
printf("%d\n", p);
}
-
- Compilation Error
- 2
- 1
- Runtime Error
- None of these
Correct Option: A
Compilation Error
main.c: In function ‘main’:
main.c:5:13: error: expected expression before ‘=’ token
p &&= q;