Question:What will be output if you will compile and execute the following c code?


#include<stdio.h>
int main(){
  int a=-20;
  int b=-3;
  printf("%d",a%b);
  return 0;

A 2 

B -2 

C 18 

D -18 

E Compiler error 

+ Answer
+ Report
Total Preview: 1111

Copyright © 2024. Powered by Intellect Software Ltd