Two p-n junction diodes are connected as shown in figure. A and B are input signals and C is the output. The given circuit will function as a________.

Let 0V represent Logic 0 and
5V represent Logic 1.
Case 1: If either input A or B (or both) is at 0V (Logic 0), the respective diode is forward-biased. This pulls the output voltage at node C down to 0V.
Result: If A = 0 or B = 0, then output C = 0.
Case 2: If both inputs A and B are at 5V (Logic 1), both diodes and are reverse-biased and act as open circuits. Since no current flows through resistor R, the output C remains pulled up to 5V.
Result: If A = 1 and B = 1, then output C = 1.
Truth Table:
The above truth table corresponds exactly to an AND gate.
Tagged Logic gates and digital circuits. Machine-assigned, so read it as a strong shortlist rather than a verdict.