Cond-comma-ops quiz (C for Everyone: Programming Fundamentals - Week 3 Coursera)

Ace your homework & exams now with Quizwiz!

Assume i = 1; j = 2; n = (i < j);

n is 1

Assume i = 1; j = 2; n = i, j+1;

n is 1

Assume i = 1; j = 2; n = (i, j);

n is 2

Assume i = 1; j = 2; n = (i == j)? 4:(i < j)?3:5;

n is 3

Assume i = 1; j = 2; n = (i < j)? 4: 6;

n is 4


Related study sets

Principles of microeconomics: Chapter 6

View Set

Environmental Health and Safety Instruction and Assignment

View Set

Emergency Care and Clinic Skills Final Exam

View Set

World History II Richardson Unit I

View Set

Level 6: Violations of License Law, Penalties, and Procedures

View Set

Speech Final Exam Chapters 10-11

View Set

Les nationalités: Je viens de ..... - Je suis "........."

View Set