Q:

What will be output of the following c code?

belongs to collection: SYSTEMS PROGRAMMING LANGUAGES MCQ

0

What will be output of the following c code?

#include
int main(){
const int *p;
int a=10;
p=&a;
printf(“%d”,*p);
return 0;
}

  1. 0
  2. 10
  3. Garbage Value
  4. Any Memory address

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (b).10

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

SYSTEMS PROGRAMMING LANGUAGES MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What will be output of the following c code?... >>
<< What will be output of the following c code? ( acc...