QuestionQ48Verified/PL/SQL Language FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhich three statements are correct about passing parameters to subprograms?Choose threeAPL/SQL assigns values to actual parameters in subprograms with unhandled exceptions.BIN parameters passed to subprograms act like constants, to which values cannot be assigned by the subprogram.CIN OUT parameters pass initial values to subprograms and return values updated by subprograms to the caller.DThe actual parameter must be a variable when calling a subprogram with an OUT parameter.EIN parameters passed to subprograms act like variables, to which values can be assigned by the subprogram.FOUT parameters returning values to calling subprograms act like constants in the called subprogram.Show AnswerAnswerExplanationAn IN parameter passes a value into a subprogram and acts as a constant there. An IN OUT parameter provides an initial value and returns the value updated by the subprogram. The actual parameter corresponding to an OUT parameter must be a variable, because the subprogram returns a value through it.Learn moreOracle Database PL/SQL Language Reference: Subprogram ParametersShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion