Answer Posted / amit
A switch statement is a selection statement that lets you
transfer control to different statements within the switch
body depending on the value of the switch expression. The
switch expression must evaluate to an integral or enumeration
value.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How is = symbol different from == symbol in c programming?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What is the use of c language in real life?
Explain function?
What are dangling pointers? How are dangling pointers different from memory leaks?
How can type-insensitive macros be created?
what is ur strangth & weekness
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Explain the use of #pragma exit?
Differentiate between #include<...> and #include '...'
Write a program for finding factorial of a number.
When should I declare a function?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.