Question:What will be output if you will compile and execute the following c code?
#include<stdio.h>

void call(int,int,int);

int main(){
  int a=10;
  call(a,a++,++a); 
  return 0;
}

void call(int x,int y,int z){
  printf("%d %d %d",x,y,z);
}
 

A 10 10 12 

B 12 11 12 

C 12 12 12 

D 10 11 12 

E Compiler error 

+ Answer
+ Report
Total Preview: 1371

Copyright © 2024. Powered by Intellect Software Ltd