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
------------------------
1. Camera used in this video - Canon 200D mark II - To buy click this link : https://amzn.to/3fCxVeB
2. Lens used in this video - Canon 50mm 1.8 prime lens - To buy click this link : https://amzn.to/36bSrQh
3. Tripod used in this video - Amazon basic 60 inches - To buy click this link : https://amzn.to/3m5RwGq
4. Mic used in this video - Boya B1 M1 pro omnidirectional - To buy click this link :
https://amzn.to/33ilW0E
------------_-------_------------------------_----------_----------
Contact Us: [email protected]
-----------_-------_------------------------_----------_-----------
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