Computer Science, asked by imnishisingh635, 5 months ago

what will be the output generated when the given code is executed
function maino
{
integer a=5
switen(a)
default: print "hello"
case 5: print "How are you?"
break
}
}

Answers

Answered by AnindaBasu
2

Answer:

first of all it will be switch

and the output will be How are you?

Answered by Jasleen0599
0

The output  error generated when the given code is executed

Input

function maino

{

integer a=5

switen(a)

default: print "hello"

case 5: print "How are you?"

break

}

}

  • In the programming language, there are five different sorts of errors: syntactic, run-time, logical, semantic, and linker.
  • Transferring into a block is conceivable, but not in a method that gets around initialization of declarations. Unless the variable has a scalar type, class type with a trivial default function Object() { [native code] } and a trivial destructor, a cv-qualified version of one of these types, or an array of one of the aforementioned types and is declared without an initializer.
  • a programme that jumps from a point where a variable with automatic storage duration is not in scope to a point where it is in scope is ill-formed.

#SPJ2

Similar questions