info@tutorialdiary.com

Saturday, May 21, 2016

Common Output Question in AMCAT 6 | Find output

2:11 PM

Share it Please
Q.

function Display(string my str)//statement 1
{
print "hello my name is"
print mystr //statement 2
}
function main() //statement 3
{
string str = "mr.beans"
integer num = display(str) // statement 4
}
option:
a)statement 1 error
b)statement 2 error
c)statement 3 error
d)statement 4 error


Answer: d)



0 comments:

Post a Comment