Question
#include<stdio.h>
int main()
{
volatile int a=11;
printf("%d",a);
return 0;
}
a.
11
b.
Garbage
c.
-2
d.
Cannot Predict
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. Which concept of grammar is used in the compiler
View solution
Q. A regular expression enables a quick test to determine objects and text strings with undependable values.
View solution
Q. RE can be used only for values of type string and number.
View solution
Q. You can use RE, if you expect the value of a property to change in an unpredictable way each time its run.
View solution
Q. ___________ Are automatically treated as regular expressions.
View solution
Q. If a ‘/’ is used before a character that has no special meaning, ‘/’ is ignored.
View solution
Q. String generated by
S->aS/bA,
A->d/ccA
View solution
Q. If R is regular language and Q is any language (regular/ non regular), then Pref (Q in R) is _____________
View solution
Q. The production of the form no terminal → Λ is said to be null production.
View solution
Q. R is said to be reflexive if aRa is true for every a in A;
View solution
Q. If every aRb implies bRa then a relation R will be a symmetric relation.
View solution
Q. If every aRb and bRc implies aRc, then the relation is transitive
View solution
Q. If a set A has n elements, then the total number of subsets of A is.
View solution
Q. The number of proper subsets of the set {1, 2, and 3} is.
View solution
Q. If A, B and C are any three sets, then A × (B ∪ C) is equal to.
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!