🚀 Launch OFFER 🚀 Free 10 Credits for all newly created accounts - Get Started for Free (No Credit Card required) Click Here.

Search for your subset of questions

Question Code

1569

Question

What is the result of this code?

p = 1;
q = 2;
r= 3;
s = 4;
t = r / (~p -q == r - s);

Answers

Error

t =NaN

t =Inf

t = -0.2500

Question Code

1571

Question

my_func is a function as follows. What is the value of ‘a' at the end of the code below?

function a = my_func(a)
    a = a + 1;
end
------------------
a = 0;
for i = 1:3
    my_func(a);
end
a = my_func(a);

Answers

4

3

0

1

Sign up to unlock the question bank

Sign up now

Already have an account? Log in

© 2024 merreo - All rights reserved.