Question:What will be output when you will execute following c code?
#include<stdio.h>
int main(){
    const int *p;
    int a=10;
    p=&a;
    printf("%d",*p);
    return 0;
}
Choose all that apply: 

A 0 

B 10 

C Garbage value 

D Any memory address 

E Error: Cannot modify const object 

+ Answer
+ Explanation
+ Report
Total Preview: 800

Copyright © 2024. Powered by Intellect Software Ltd