Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
C Programming
→
Floating Point Issues in C Programming
→
Can we use a statement to switch on strings?
1.
Can we use a statement to switch on strings?
Answer» The cases in a switch must either have integer constants or constant expressions.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
Point out the correct statements are correct about the program below?
What will be the output of the program, if a is 2 bytes wide?
Point out the error, if any in the program.
Point out the error, if any in the loop.
A is at least 16 bits wide and a is at least 32 bits wide.
If is used to store a value in a variable then along with the value a carriage return(\r) also gets stored it.
The modulus operator cannot be used with a .
A char variable can store either an ASCII character or a Unicode character.
The way the is used to take control out of and to take control of the beginning of the ?
Can we use a statement to switch on strings?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies