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
Leona [35]
3 years ago
14

How do you declare variables in c program

Computers and Technology
1 answer:
Blizzard [7]3 years ago
8 0

Answer:

You will use the keyword extern to declare a variable at any place. Though you can declare a variable multiple times in your C program, it can be defined only once in a file, a function, or a block of code. Explanation:

You might be interested in
Write an expression that whose value is the fifth character of the string name.
Anuta_ua [19.1K]
Int j;
j="name"[4];
//   you   could  do
j=0;   //  since name   has four letters  the fifth  character is the terminating 0
now  if the string  name is  name
you   could do
j=name[4];  // or even    4[name] 

5 0
3 years ago
5
Vilka [71]
Is there like a graph or something I can look at because then I can help you
5 0
3 years ago
What type of device is OMR input or Output<br>​
slamgirl [31]

Answer

input

Explanation:

modern ones are now input

5 0
2 years ago
Damion recently did an update to his computer and added a new video card. After the update, Damion decided that he would like to
Lerok [7]
Video card device drives need to be updated.
5 0
3 years ago
Create a new Java program called MyInfo. Create one or more method(s) that pass the following information as parameters and prin
Vladimir79 [104]

Answer:

Answered below

Explanation:

//Program in Java

class MyInfo{

public static void main (String args []){

myFullName("John", "Doe");

myAgeMajorGPA(20, "Biology", 4.3);

}

public void myFullName(String initialName, String middleName){

System.out.println(initialName);

System.out.print(middleName);

}

public void myAgeMajorGPA(int age, String major, double GPA){

System.out.println(age);

System.out.println(GPA);

System.out.print(major);

}

}

3 0
3 years ago
Other questions:
  • Create a stack with three integers and then use .toarray to copy it to an array.
    10·1 answer
  • Who killed mrs.huffington
    14·1 answer
  • What shortcut keys are used to go directly from global configuration mode to privileged exec mode?
    12·2 answers
  • Describe Format Painter by ordering the steps Jemima should follow to make the format of her subheadings more
    6·1 answer
  • Translate function f into RISC-V assembly language. Assume the function declaration for g is int g(int a, int b). e code for fun
    10·1 answer
  • Describe practices that enable software designers to think about using patterns?
    10·1 answer
  • A Task can be created in Outlook 2016 by clicking on the Tasks navigation item, or by
    5·2 answers
  • It is acceptable to create two TCP connections on the same server/port doublet from the same client/port doublet. True False
    9·1 answer
  • User name ideas for ro blox? I'm changing mine and I dont know what I want. No numbers or underscores!
    10·2 answers
  • Is the following statement true or false? The message you send, the message you intend to
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!