answersLogoWhite

0


Best Answer

Perhaps you meant 'switch statement' instead of 'a switch'?

Something like this:

->

-> switch ()

-> { }

-> (empty) |

-> [];

-> |

-> case: | default:

-> | break;

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is regular grammar of a switch in C programming language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

0's and 1s is Low-level programming language?

it is called binary code and this is the lowest level programming language you can track it by looking at a switch or a register in memory


Which programming language is the hardest to study from?

The one you do not know. All programming languages are hard for a beginner, you just have to stick with it for a few years. It is much easier to switch to a new language when you already know one with perhaps the exception being FORTH. I like C the best but others will think differently.


What programming languages use a C switch statement?

There are two programming languages which use a C switch statement. The two languages are C and C++, hence the name C switch statement. There may be more, but those are the most obvious ones


What is the prototype for switch in C programming?

Statements doesn't have prototypes, functions do.


In computer programming what is the difference between a switch and a transistor?

In the general subject of computer programming neither switch nor transistor exist as concepts. They are out of scope.The language C (and its relatives) have a switch statement, but still no concept of transistor.The switch statement of C is a statement in the general class of multiple way decision statements (aka multiple way branch statements) and are called other things in other languages:FORTRAN IV - computed GOTO statementFortran 95 - case constructBASIC - ON ... GOTO statementCOBOL - EVALUATE statementPL/1 - SELECT statementPascal - case statementAda - case statementetc.

Related questions

0's and 1s is Low-level programming language?

it is called binary code and this is the lowest level programming language you can track it by looking at a switch or a register in memory


In switch case programming why are some parameters always in brackets?

There are syntax rules that are to be followed in every programming language and similar is the case here. These rules are a part of the Java language specification.


Were is the clutch safety switch located on a 389 peterbilt?

It's the regular clutch position switch at the top of the pedal... the "safe start" feature is a matter of programming in the engine ECM.


What has the author Lurong Wang written?

Lurong Wang has written: 'Investigating language switching in second-language writing' -- subject(s): Chinese speakers, Code switching (Linguistics), Comparative and general Grammar, English language, Grammar, Comparative and general, Second language acquisition, Study and teaching, Switch-reference, Written English


Does txtng affect your spoken grammar?

No, I dont think so. But it does affect how I write. It's also hard for me to switch from my txt language to formal writing.


Which programming language is the hardest to study from?

The one you do not know. All programming languages are hard for a beginner, you just have to stick with it for a few years. It is much easier to switch to a new language when you already know one with perhaps the exception being FORTH. I like C the best but others will think differently.


In command prompt what does the if switch do?

There is not switch called "if". We generally use "if" statement in batch programming in DOS.


Which sentence is right switch off the light or switch off light?

(this should be a grammar question) Switch off the light(s).


Does Andrew Reynolds ride switch or regular?

Regular.


What programming languages use a C switch statement?

There are two programming languages which use a C switch statement. The two languages are C and C++, hence the name C switch statement. There may be more, but those are the most obvious ones


How do you switch your language?

learn the new language


What is the prototype for switch in C programming?

Statements doesn't have prototypes, functions do.