If else statement VS switch statement | which one is better

preview_player
Показать описание
This episode shows what is the comparison between if else statement and switch case statement in tamil.
the switch case is always faster than the if else statement because of the jump table that will be created during the compilation and only the expression value and the constant value will be checked that is switch case will check for equality..
#if-else #switch #kainaatu #difference #learninTamil

If-else” and “switch” both are selection statements. The selection statements, transfer the flow of the program to the particular block of statements based upon whether the condition is “true” or “false”.
if statement evaluates integer, character, pointer or floating-point type or boolean type.
switch statement evaluates only character or integer value..
The switch statement is easy to edit as it has created the separate cases for different statements whereas, in nested if-else statements it becomes difficult to identify the statements to be edited..

Gadgets used
------------------------
4. Mic used in this video - Boya B1 M1 pro omnidirectional - To buy click this link :

------------_-------_------------------------_----------_----------

-----------_-------_------------------------_----------_-----------

easy program writing method, beginners guide to write programs, c programming made easy, easy trick to write c program, youtube class to teach c program, youtube tutorial for c language, online c class, easily learn c in tamil
Рекомендации по теме
Комментарии
Автор

Ninga teach pandrathu rumpa nalla irukku sir it professional relativea naraya videos potunga sir

SenthilKumar-xomu
Автор

Romba arumaiya solli kudukreenga sir. Romba easy aa puridhu

vik_
Автор

Nanba video super ah panringa... Ithe maari unga best ah kudunga... channel really super.... Devlope panna try pannunga... Pugal😎...👍

HARISH-rxnq
Автор

Sir swapping program teach panunga sir

a.kchannel
Автор

Tks you sir to tell different but this condition

harishneymar
Автор

Every time I see your video.. I get new information.. Thank you sir..

mythilis
Автор

Sir can you tell about python basic program

harishneymar
Автор

I really appreciate way of teaching god bless you sir

farithma
Автор

சில youdubers பொழுதுபோக்கை தேர்ந்தெடுத்தபோது, தாங்கள் கல்வியை தேர்ந்தெடுத்ததற்கு நன்றி🙏... உங்கள் பணியை விட்டுவிடாதீர்கள் உங்கள் பணி தொடரட்டும் ❣️🤗

barath
Автор

Nice explanation sir, with example really very impressed thanks sir 👌👌👌

chandruarul
Автор

Sir if else pathi theliva oru video podunga please

lgcreation
Автор

Sir 11 th Cs practical explain pannringala sir pls

robinnickson
Автор

Nalla soli kudukkuravankalukku ennaikkime views varathaa..enna da உலகம் இது

VinayagaMotorsTsy