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
BaLLatris [955]
3 years ago
14

Lidia is assigning her first name as the value to a variable. Which is the correct format to use? firstName = "Lidia" First Name

= "Lidia" firstName! = "Lidia" firstName = Lidia
Computers and Technology
2 answers:
ioda3 years ago
7 0

Answer:

firstName = "Lidia"

Explanation:

you declare a variable by

variableName = value

her name is of data type string, so it should be enclosed in " "

Goshia [24]3 years ago
6 0

Answer:

firstName = "Lidia"

Explanation:

firstName = "Lidia"

You might be interested in
How do you become a hacker? Is there any good websites? Where do you begin? Preferably a white hat.
4vir4ik [10]
I suggest learning and studying technology and the way a computer or a phone works and how it receives info. That way, you will be able to give the device something it won't handle...... I think....
3 0
3 years ago
Did the first generation of computers use microprocessors.
Katena32 [7]

no they used standard 8088 Intel processors

hope this helps

8 0
2 years ago
Read 2 more answers
Network administration is concerned with which tasks?
Yuri [45]

A user hacking or looking up utter nonsense....sorry if it didn't help

3 0
4 years ago
Read 2 more answers
Storing the same data in more than one place is called ______
nadezda [96]
It is called a file!
7 0
3 years ago
#include #include int main( ) { int value = 10; int pid; value += 5; pid = fork( ); if (pid > 0 ) { value += 20; } printf(val
ss7ja [257]

Explanation:

To understand how this program is working let us print the variable value at different stages of the program so that we can understand how it is working.

Intitally, value=10 when it was declared.

Then we added 5 and it become value=15

then we used fork() function which creates a parent(orignal) and child(duplicate)

When fork() succeeds it returns the child pid to parent and returns 0 to the child. As you can see (pid > 0) condition is always true therefore the parent pid value becomes 35 ( 15+20) and the child pid value becomes 0.

#include <stdio.h>

#include <unistd.h>

int main( ) {

   int value = 10;

     printf("%d\n",value);

   int pid;

   value += 5;

     printf("%d\n",value);

   pid = fork( );

     printf("%d\n",pid);

   if (pid > 0 )

   {

       value += 20;

   }

   printf("%d\n",value);

   return 0;

}

Output:

10 (initial value)

15 (modified value)

5343 (pid when fork is used)

35 (final modified value)

0 (child value)

15 (the parent value when fork was used)

8 0
4 years ago
Other questions:
  • Give a command that will create a file named listing.dat, in your current (commandsAsst) directory, containing a list of all the
    9·1 answer
  • What does the R in the acronym SMART stand for??
    12·1 answer
  • ] why was drone-defense equipment deployed at airports in the United Kingdom?
    13·1 answer
  • Which NSX feature would enhance their security so that this doesn’t happen again?
    15·1 answer
  • Once the term of copyright has expired,a work
    15·1 answer
  • Which step is first in changing the proofing language of an entire document?
    11·1 answer
  • Question 1 (1 point)
    9·2 answers
  • Write an algorithm and flowchart to display H.C.F and L.C.M of given to numbers.​
    9·1 answer
  • How do I mark brainlyist
    7·2 answers
  • An 802. 11 frame contains a number of fields. Which field describes the version of 802. 11 that is being used?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!