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


#include<stdio.h>

int main(){
  int i=11;
  int const * p=&i;
  p++;
  printf("%d",*p);
  return 0;
}

 

A 11 

B 12 

C Garbage value 

D Compiler error 

E None 

+ Answer
+ Report
Total Preview: 1199

Copyright © 2024. Powered by Intellect Software Ltd