0
1.3kviews
What will be the output of the following program?

Program:

Void main(){

double x =28;

int r;

r = x % 5;

printf(ā€œ\n r = %dā€,r);

A] r =3
B] Run time error
C] Compile time error
D] None of these

1 Answer
1
26views

C] Compile time error

It should be void not Void and the main function is not ended with }

Please log in to add an answer.