1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Mnenie [13.5K]
3 years ago
8

What would be the output of the following program?

Computers and Technology
1 answer:
Natalka [10]3 years ago
8 0

Answer:

Output: 2004 2008 2058  

Explanation:

In the first printf command it will print the address of the variables num, msg1, msg2. And in the second printf command it will print the values of the variables num, msg1, msg2. As the address of the structure is 2004 And the size of the integer is 4 byte so size will increase with 4 bytes and the size of character is 1 byte so it will increase by 1*50= 50 bytes.

Hence, the output is 2004 2008 2058  

You might be interested in
PLS HELP I GOT 30 MINS TO TURN THIS IN!!!
tekilochka [14]

Answer:

it is actually a phone video gaming tv and stuff that you play with like cars and other stuff

Explanation:

4 0
3 years ago
Read 2 more answers
What type of cable is used to connect a workstation serial port to a cisco router console port?
butalik [34]

a <span>Ethernet-<span>Cable is a how to put it together</span></span>

<span><span /></span>

6 0
4 years ago
Which sentence in the passage conveys the message that drones can be used in the study of history?
DENIUS [597]
Well the drone could go over the city then with that footage make a 3D model of what it probably looked like
5 0
3 years ago
Read 2 more answers
What is the different between compilers and interpreters?​
ad-work [718]
Compiler transforms code written in a high-level programming language into the machine code, at once, before program runs, whereas an Interpreter coverts each high-level program statement, one by one, into the machine code, during program run. Compiled code runs faster while interpreted code runs slower.
8 0
3 years ago
Write a conditional expression that assign the value 0 to a credits variable if it is less than 0; otherwise the value of the cr
Svetach [21]

Answer:

credits = (credits < 0) ? 0 : credits;

Explanation:

This is the ternary conditional operator.

6 0
4 years ago
Read 2 more answers
Other questions:
  • Write a program that calculates the cost of a phone call. The user enters a positive integer that
    11·1 answer
  • he specific gravity of gold is 19.3. Write a MATLAB program that will ask the user to input the mass of a cube of solid gold in
    15·1 answer
  • Which cisco ios command is used to display the current ospf neighbors and their rids?
    11·1 answer
  • Remember to save _____ and be certain that you have your files saved before closing out.
    11·1 answer
  • Assume that isIsosceles is a bool variable, and that the variables isoCount, triangleCount, and polygonCount have all been decla
    11·1 answer
  • The optional feature in a business letter is
    10·1 answer
  • Often an extension of a memorandum of understanding (MOU), the blanket purchase agreement (BPA) serves as an agreement that docu
    11·1 answer
  • How do you know when a spreadsheet object is active in a Word document?      A. The Ribbon is minimized. B. The Excel Formula ba
    10·2 answers
  • What does this mean, i am so confused- Explain the importance of identifying the purpose/use for pre-production documents
    9·1 answer
  • A citizen of any group both
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!