Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Static variable doubt
thepeeyoosh
asked
in
Programming in C
Jan 13, 2018
356
views
2
votes
2
votes
static-single-assignment
compiler-design
thepeeyoosh
asked
in
Programming in C
Jan 13, 2018
by
thepeeyoosh
356
views
answer
comment
Follow
share this
share
1 comment
by
sandygate
commented
Oct 9, 2018
reply
Follow
share this
only b is correct, can you provide the answer
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
0
votes
Answer is D. You can do every of the option mentioned with static variables.
Ved Sinha
answered
Jan 19, 2019
by
Ved Sinha
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
1
answer
1
rahul sharma 5
asked
in
Programming in C
Dec 28, 2016
1,060
views
Static Variable C Initialization
Why am i not getting any error while executing the following statements? int x=20; int z=x;//error expected but not coming int main() { int y=10; static int temp=y; //Error expected but not coming temp=99;//Error expected but not coming getch(); }
rahul sharma 5
asked
in
Programming in C
Dec 28, 2016
by
rahul sharma 5
1.1k
views
programming-in-c
output
static-single-assignment
0
votes
0
votes
1
answer
2
rexritz
asked
in
Compiler Design
Oct 22, 2023
391
views
Static single assignment self doubt
Consider the intermediate code given below: $a=c+d$ $b=a+e$ $b=f*g$ $h=b*a$ $T=u+h$ If the code is converted into a static single assignment form then the minimum number of total variables required is? The answer is given as 9 but according ... $T = u + h$ Can anyone help me exactly what mistake am I doing or my approach is correct and given answer is wrong?
rexritz
asked
in
Compiler Design
Oct 22, 2023
by
rexritz
391
views
compiler-design
static-single-assignment
intermediate-code
0
votes
0
votes
1
answer
3
minal
asked
in
Compiler Design
Jan 22, 2019
922
views
static single assignment
# of temporary variable required to create 3 address code in static single assignment form for the expression P+Q*R-S/(Q*R).
minal
asked
in
Compiler Design
Jan 22, 2019
by
minal
922
views
compiler-design
intermediate-code
three-address-code
static-single-assignment
numerical-answers
3
votes
3
votes
0
answers
4
shreyansh jain
asked
in
Compiler Design
Dec 26, 2018
1,249
views
MadeEasy Test Series: Compiler Design - Static Single Assignment
Consider the following code segment: $c=b+a$ $e=c-a$ $f=c*e$ $h=c+a$ $i=h+f$ The minimum number of temporary variable required to convert the above code segment to static single assignment form is ________. Doubt : Are we ... do minimizations in SSA? if YES then is it always the case, if NO when do we have to do it. Please clarify.
shreyansh jain
asked
in
Compiler Design
Dec 26, 2018
by
shreyansh jain
1.2k
views
static-single-assignment
compiler-design
made-easy-test-series
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Programming
(4.1k)
Programming in C
(4.1k)
Programming in Python
(5)
DS
(2.0k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy