Question
#include<stdio.h>
int main(){
const int *p;
int a=10;
p=&a;
printf("%d",*p);
return 0;
}
a.
0
b.
10
c.
Garbage Value
d.
Any Memory address
Posted under Compiler Design
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What will be output of the following c code?
Similar Questions
Discover Related MCQs
Q. Is GCC a cross Compiler ?
View solution
Q. Which of the following String can be obtained by the language L = {ai b2i / i >=1}?
View solution
Q. Give a production grammar that specified language L = {ai b2i >= 1}:
View solution
Q. Consider the production of the grammar S->AA A->aa A->bb.Describe the language specified by the production grammar.
View solution
Q. Semantic Analyser is used for
View solution
Q. In Short Syntax Analysis Generates Parse Tree.
View solution
Q. Output file of Lex is _____ the input file is Myfile.
View solution
Q. ( Z,* ) be a structure, and * is defined by n * m =maximum ( n , m ). Which of the following statements is true for ( Z, * ) ?
View solution
Q. The computer language generally translated to pseudo-code is
View solution
Q. A simple two-pass assembler does which of the following in the first pass?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Compiler Design? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!