Ternary Operator : Sample Program Part 2

Ternary Operator

The video explains the method to use ternary operator in C program. What is important here is, programmer should not forget that conditional expression written using ternary operator returns the value.

Ternary operator is very handy operator to make the code consice in many situation not only in C but C++ and Java as well.

Access this framework with lot more stuff like C language MCQ, viva and interview preparation, Glossary, Solved Programs of C language etc. please register for discount coupon

cenglishcppengcmarathi

Introduction to ternary operators

Ternary Operators – Introduction

C language has got 3 different categories of operators viz. unary, binary and ternary. Here is the video to explain introduction to ternary operator in C language.

The use of ternary operator has to be recognized not only in C but C++ as well ahead.

Access this framework with lot more stuff like C language MCQ, viva and interview preparation, Glossary, Solved Programs of C language etc. please register for Discount Coupon

cenglishcppengcmarathi