what is the different between if-else and switch statment
(other than syntax)
Answer Posted / ahmed
in if else if one condition is satisfied then first
statement is execute else the 2nd statement.
While in switch their is multiple choice for selection
Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
praagnovation
What is a stream water?
What is union and structure?
Explain what happens if you free a pointer twice?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
What's the best way of making my program efficient?
How do you list files in a directory?
Is there a way to switch on strings?
Explain what are the different data types in c?
What is define c?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What is dynamic memory allocation?
What is advantage of pointer in c?
How many data structures are there in c?