engineering recuitment OPSC Assistant Industries Officer Mock Test 2025 Programming and Data Structure Programming in C
What is the output of following C programming language code?
int main()
{
int a=10, b=4, c, d;
c=a<9;
d=a>3&&b!=3;
printf("c=%d d=% d", c, d);
return 0;
}
1
c=0 d=0
2
c=1 d=0
3
c=1 d=1
4
c=0 d=1