Examveda

What will be the output of the following C code?
#include <stdio.h>
void main()
{
    char a = 'A';
    char b = 'B';
    int c = a + b % 3 - 3 * 2;
    printf("%d\n", c);
}

A. 65

B. 58

C. 64

D. 59

Answer: Option D


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals