what is the different between if-else and switch statment
(other than syntax)
Answer Posted / thiyagu.p
Simply saying, IF-ELSE can have values based on constraints
where SWITCH can have values based on user choice.
Is This Answer Correct ? | 187 Yes | 42 No |
Post New Answer View All Answers
What does node * mean?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
Can main () be called recursively?
What is the use of extern in c?
What is an array in c?
Is null always equal to 0(zero)?
What is conio h in c?
What is the use of typedef in structure in c?
what is use of malloc and calloc?
What is c token?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What is the scope of global variable in c?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Is c pass by value or reference?