CS计算机代考程序代写 compiler If a storage class is not mentioned in the declaration then default storage class is

If a storage class is not mentioned in the declaration then default storage class is
  
Automatic
Your C program was able to compile. However, the result is incorrect. What type of error is this?
logic
 What will be the output,  after the program execution: 
 float sqr(float m)
 {
  return (m*m);
 } 
  void main()
 {
  float x=2.2,y;
  y=(int)sqr(x);
  printf(“\n x=%g”,y);
 }
  
 x=4
What is the return type of the function with prototype: “int func(char x, float v, double t);”
Int
The return() statement can return more than one value at a time.
  
False
 
In the call by value, values are passed to formal arguments. 
True
Following one keyword is used for function not returning any value
Void
Which of the following is a complete function?
  
 int funct(int x) {return x=x+1;}
 
Your C program fails to compile and has errors. What type of errors are present?
syntax
The scope of local variables is limited to the block in which they are defined.
True
A function prototype gives information in advance to the compiler.
  
True
 Function prototype is required in every program 
  
False
If the CPU fails to keep the variables in CPU registers, in that case the variables are assumed
Automatic
What is the default return value type of a function?
Int
An external variable is one
which is globally accessible by all functions 
 
  
which is declared outside the body of any function
 
  
which resides in the memory till the end of the program
 

  
all of them
Actual and formal arguments can have the same identifiers
True
Every  C  program execution starts with function main().
True
 Which of the following is a valid function call (assuming the function exists)?    
funct();
Which of the following is an invalid function prototype?
  
float fun(int aa, bb);
Which of the following is a complete function?
  
 int funct(int x) {return x=x+1;}
 
What will be the value of variable x  on the execution of the following program
 
  int x;
  void main()
  {
    x++;
    printf(“x = %d”,x);
  } 
 x = 1
 By default the function returns
  
int value
The data type before the function name indicates the type of value the function will return.
True
A function prototype gives information in advance to the compiler.
True