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


#include<stdio.h>
int main(){
  int a=sizeof(a);
  a=modify(a);
  printf("%d",a);
  return 0;
}

int modify(int x){
  int y=3;
  _AX=x+y;
  return;

A 2 

B 3 

C 5 

D Garbage value 

E None 

+ Answer
+ Report
Total Preview: 1047

Copyright © 2024. Powered by Intellect Software Ltd