#10: Ternary Operator in C | C Programming for Beginners

#10: Ternary Operator in C | C Programming for Beginners

Programiz

2 года назад

88,011 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@kam-sc9gs
@kam-sc9gs - 18.12.2023 12:23

Ma'am thank you so much, I really appreciate ur work, and it really help me so much❤

Ответить
@furkanakdag7644
@furkanakdag7644 - 10.12.2023 17:00

answer is "C"

Ответить
@zonekenne5329
@zonekenne5329 - 04.12.2023 13:36

why do I get an error when I try to do the operation with a "double" data type. I expected the integer to be converted to double since the double is greater than the int in the ranking

Ответить
@user-nn9xq8ok2u
@user-nn9xq8ok2u - 07.11.2023 12:48

Nice❤❤❤

Ответить
@Judyy.Sabryy
@Judyy.Sabryy - 29.10.2023 00:34

Love it, explantion was clear and straightforward, however, I suggest you also talk about how to implement nested Ternary operators.

Ответить
@celal__senguen
@celal__senguen - 26.10.2023 23:25

Why is it not B

Ответить
@salmanmugharbel
@salmanmugharbel - 21.10.2023 11:41

good

Ответить
@rubakvanitha8164
@rubakvanitha8164 - 16.10.2023 20:11

Thank you for your happy programming for us🎉

Ответить
@unruly_ronin
@unruly_ronin - 15.10.2023 21:31

Subscribed coz you guys are brilliant and have a great presentation style

Edit: Answer is C

Ответить
@adityasharma3947
@adityasharma3947 - 15.10.2023 15:05

B as we have to print Result = 5
but in C the value of just 5 is will be as output

Ответить
@3yvdvymvn
@3yvdvymvn - 19.09.2023 21:19

Your tutorials are so helpful. i learnt switch statement and im now learning tenrary operator. keep the great work up!

Ответить
@abdarrahmane3699
@abdarrahmane3699 - 02.09.2023 16:25

B

Ответить
@balashebjadhav977
@balashebjadhav977 - 26.08.2023 09:28

The answer is option C)

Ответить
@qarikhalidwaheed1643
@qarikhalidwaheed1643 - 03.08.2023 16:14

It's going super good because of you explaining💞💕

Ответить
@qarikhalidwaheed1643
@qarikhalidwaheed1643 - 03.08.2023 16:11

❤❤❤thank you for explaining it so easily❤❤❤

Ответить
@qarikhalidwaheed1643
@qarikhalidwaheed1643 - 02.08.2023 17:48

Thanks for explaining this code simply

Ответить
@53rajkumardas98
@53rajkumardas98 - 20.07.2023 11:33

C

Ответить
@essabello5094
@essabello5094 - 14.07.2023 09:47

love it

Ответить
@albertamenyah3019
@albertamenyah3019 - 10.07.2023 19:14

The answer is C.

Ответить
@sayun8848
@sayun8848 - 02.06.2023 21:39

Answer is C

Ответить
@seabasschukwu6988
@seabasschukwu6988 - 31.05.2023 18:36

GREAT EXPLANATION!

Ответить
@rahulc.h2440
@rahulc.h2440 - 27.05.2023 22:01

for the quiz, it opts C coz in the if-else statement the if part is evaluated to be true and hence gives 5 so the same principle applies Ternary:- (CONDITION) ? Statement1(Executed when True) : Statement2(Executed when False)

Ответить
@starknow1345
@starknow1345 - 27.05.2023 18:02

programming task answer
void main(){
int number;
printf("enter number:");
scanf("%d", &number);
(number %2==0)? printf("the number is even"): printf("the number is odd");
}

Ответить
@seabasschukwu6988
@seabasschukwu6988 - 15.05.2023 17:14

the correcr answer is C

Ответить
@aboutouruniverse3834
@aboutouruniverse3834 - 10.05.2023 19:23

QUIZ: C

Ответить
@aboutouruniverse3834
@aboutouruniverse3834 - 10.05.2023 19:20

the answers people are giving for the programming task that is given is kind of out of the question because she said that we should assign a value to the variable number but no one is doing that,i am trying to follow the instruction that she gave but its damn hard

Ответить
@ParkerPlaysPC
@ParkerPlaysPC - 09.05.2023 14:36

Thank you, padma ❤

Ответить