Report Bug

Qus

What is the effect of the following code?

main() { int a[4] = {25, 16};
printf(ā€œ%d %dā€, a[0] & a[1], a[1]|a[2]) ; }
Qus

What is the effect of the following code?

main() { int a[4] = {25, 16};
printf(ā€œ%d %dā€, a[0] & a[1], a[1]|a[2]) ; }


A. 16 16
B. Syntax error because of invalid operator symbol
C. 25 16
D. Syntax error because of invalid array initialization


Solution
A. 16 16



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad