C_Programming_30(sat)

Flashcard
•
Computers
•
University
•
Hard
Abi V
FREE Resource
Student preview

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which memory segment stores local variables of a function?
Back
Stack
2.
FLASHCARD QUESTION
Front
Global variables are initialized to what value by default? Options: Undefined, 0, Random Value, 1
Back
0
3.
FLASHCARD QUESTION
Front
Which segment contains the compiled machine instructions?
Back
Code Segment
4.
FLASHCARD QUESTION
Front
What happens to the stack frame of a function after it returns?
Back
It is cleared automatically
5.
FLASHCARD QUESTION
Front
Static variables are stored in which memory segment?
Back
Global/Static segment
6.
FLASHCARD QUESTION
Front
A function's local variables are stored in which segment? Code segment, Static segment, Stack, Global Segment
Back
Stack
7.
FLASHCARD QUESTION
Front
What is the scope of a global variable?
Back
Accessible by all functions in the program
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Semester Exam Review

Flashcard
•
University
16 questions
Protein Synthesis

Flashcard
•
KG - University
15 questions
Environmental Science: Planetary Boundaries

Flashcard
•
12th Grade - University
15 questions
Fitness Program Design: Mock Exam (Winter 2025 - Josh)

Flashcard
•
University
15 questions
Curves of Best Fit

Flashcard
•
KG - University
15 questions
Prob 2.1 Random Variable CFA

Flashcard
•
University
15 questions
Prob 2.1 Random Variable CFA

Flashcard
•
University
15 questions
Prob 2.1 Random Variable CFA

Flashcard
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade