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


#include<stdio.h>
int main(){
  register int i,x;
  scanf("%d",&i);
  x=++i + ++i + ++i;
  printf("%d",x);
  return 0;

A 17 

B 18 

C 21 

D 22 

E Compiler error 

+ Answer
+ Report
Total Preview: 1492

Copyright © 2024. Powered by Intellect Software Ltd