Can someone explain how these input statements are handled in c++?

1 Answer

Answer :

You are looking at arrays, the first is one dimensional, send two and the third..three The formulas inside the brackets calculate the specific array location you are accessing.

Related questions

Description : What is an input-output statement ?

Last Answer : The statement used to receive the value of the variable in the program is called the input statement. On the other hand , the statements that are used to display the results of the program on ... data from the keyboard and to display it on the monitor screen . Which are called output statements.

Description : What is input / output control program ?

Last Answer : The input / output control program accepts the input device for faster data processing and keeps these devices in line with the CPU to speed up the output to the output device and sends a message to the user in case of difficulty.

Description : If someone created a game for PC and had a website they wanted to put it on so people could play it, how would they accomplish that?

Last Answer : Do you have a game that you want people to buy and download and install on their PC to play it (like Portal)? Or does the game just run from the page that people view (like Angry Birds)? Or does the game run on your server and you want people to be able to play it online (like Runescape)?

Description : Can someone recommend a good book to learn C# from?

Last Answer : Believe it or not, there is a Dummies Guide to C#, which I found quite straightforward and helpful…

Description : Would appreciate tips on reading someone else's code and understanding it .

Last Answer : First hint: if there are no coments smack the someone else in the face with a crowbar. That said there's really not much to say, you should be able to figure out what the code says ... trying to understand what the subroutines are for and then from that wrking out why the bigger parts need them.

Description : I am trying to find what someone typed into Firefox on a particular site?

Last Answer : I am not trying to get a password. Only information that would have been visible when typed in.

Description : Is there somewhere where I can have someone look at my code and give me suggestions on how to make it better?

Last Answer : There are dozens of PHP forums on the web where you can submit things like that. Just search for PHP community or PHP forum. Most web design forums and communities will have an area for programming ... own forums as well. Just post a thread showing your code and asking for whatever help you need.

Description : For Programmers: What resources can you offer to someone learning C?

Last Answer : try this link: http://www.programmingtutorials.com/ also i've found the for dummies series to be helpful on many topics and i know they have a unit on c (includes a cd with compiler if i ... should ensure you're leaning the right flavor of c. there are many books available on the topic. good luck

Description : Which of the following statements reflect what is known about the Ebola and Marburg viruses? a) The diagnosis should be considered in a patient who has a febrile, hemorrhagic illness after ... fever, rash, and encephalitis which progress rapidly to profound hemorrhage, organ destruction, and shock.

Last Answer : a) The diagnosis should be considered in a patient who has a febrile, hemorrhagic illness after traveling to Asia or Africa. The diagnosis should be considered in a patient who has a febrile, ... Asia or Africa, or who has handled animals or animal carcasses from those parts of the world.

Description : Scanf (“% d”, & a); Explain the statement. ?

Last Answer : Scanf (“% d”, & a); The statement is explained below: Here ,% d is the memory location of the integer type a variable where the data will be stored.

Description : There are some rules and regulations for making variables - Explain. ?

Last Answer : There are some rules and regulations for creating variables. It is explained below. 1. The first letter of the variable must be an alphabetical character. Variable names cannot start with digits or numbers ... more variables with the same name. 4. There will be no spaces between the variable names.

Description : printf ("%" d,% x ", & b); Explain the statement ?

Last Answer : printf ( % d,% x , & b); Here , the printf statement displays the output function printf () function as a variable data result of different data types. The C program is used to ... b respectively which indicates the memory location of integer type a and b variables where data will be stored.

Description : Explain the Possibility of Addition ?

Last Answer : Subtraction can be done by adding. The same circuit can be used for addition and subtraction in the complement structure of 2. So in modern computers the complementary method of 2 is used.

Description : Explain why NAND Gate is a public gate. ?

Last Answer : The gate through which the basic gates can be implemented is called universal gate. Basic gates i.e. AND, OR and NOT gates can be implemented with NAND gate. As a result, NAND Gate is a universal gate .

Description : Why is digital signal useful in computer case ? Explain. ?

Last Answer : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 in decimal number system . A total of 10 basic symbols or numbers are used. Binary number system is used in computer design. The numbers 0 and 1 ... of the two conditions in the binary system. However, decimal numbers can be converted to binary and used in computers.

Description : Modems play an important role in the exchange of information - Explain. ?

Last Answer : Answer : A modem is an electronic medium or transmission system or device that completes the modulation and demodulation process and assists in exchanging data between the sender and receiver computer.

Last Answer : We mean everything by their names in everyday life , but in the case of programming, the code is usually used to mean different things. Data coding is the act of interpreting a piece of ... the hierarchy and huge list of different things. Coding enhances work efficiency and accuracy many times over.

Description : Explain the following assembler directives. 1) DB 2) DUP 3) EQU 4) ENDs.

Last Answer : 1) DB (Define Byte or Data Byte): This is used to define a byte type variable. The range of values : 0 - 255 for unsigned numbers -128 to 127 for signed numbers This can be used ... the end of the segment The directives SEGMENT, ENDS are always enclosed in data, code, stack and extra segments.

Description : Salesforce SDK uninstallation from XCode?

Last Answer : Too many variables – only you know your code, how it was written, and how extensible (or not) it was in the first place. I assume you have been to the Saleforce API and SDK pages.

Description : Is there a program where you can identify music in a specific website?

Last Answer : Need Answer

Description : What is a good programming language to make a multiple choice quiz?

Last Answer : Google classroom should work.

Description : Is there a website that shows all the English words, idioms, etc ever invented, including archaic, unofficial, and newest words that have just been invented?

Last Answer : The problem with such a lexicon would be that there have been a lot of slang, dialect, idioms, and unofficial words that 99% of people have never heard of. Besides that, the English language is ... pretty good vocabulary. Hopefully, someone will recommend some. I am unable to do this at the moment.

Description : How can I add HTML markup to this ajax result?

Last Answer : Need Answer

Description : Function or application allowing me to connect or disconnect wifi?

Last Answer : Some routers - Belkins and older Ciscos, had an app that would allow you to remotely-control your router from your phone. You didn't say what kind of router you have, so it's hard to guess. You can ... . Bottom line - you can do this easily if you have a wifi-based power switch and an app. example

Description : How can I become advanced in javascript in 2 months?

Last Answer : Study hard…work hard!!!

Description : Can you help fix this programming problem in Python?

Last Answer : You can’t treat arrays of digits as a single number. The easiest way to read a numeric string is to use the sys library to read a line from the keyboard. import sys print(“Enter value for mass”) mass = sys.stdin.readline() mass = float(mass)

Description : What's the best book for understanding Unity 2D?

Last Answer : Are you a beginner programmer in general, or just new to Unity? That would make a big difference in how I would respond.

Description : Programmers: Is this puzzle a "named problem?" and can you help me with it?

Last Answer : I'd call it enumerating a list of all combinations . There's a field of math called combinatorics which I did not study but I assume probably has a word for this. It doesn't seem like a puzzle ... each iteration, and tweak it to get the output format you want, but that's essentially it, I think.

Description : How do you get the link posted and not the updated page?

Last Answer : You don't have control over it. The URL that you referred to today is pointing to a page that is housed at a server somewhere else. It isn't under your control or Fluther's - it is under the control of ... a month or a year ago. Summary: it isn't under your control. You get the page they send you.

Description : I'm looking for a IT Project Idea for my Final Year. Can anyone suggest something?

Last Answer : How to maintain a question and answer site with trolls, spammers, and questions that violate the guidelines?

Description : How can i improve my skill sets?

Last Answer : You didn't say what you already know, but my main recommendation for something to learn is Python. It's a great learning language, it's free and easy to install, there are great ... and relatively easily. https://www.python.org/about/gettingstarted/ https://www.programiz.com/python-programming

Description : What should I study in order to write/program a career search software?

Last Answer : More programming. And logic. You need to understand how to develop a search for terms, and then also determine where to search, and then how to optimize search results in a relational database.

Description : Is it on all smartphones you can't post a link?

Last Answer : I can’t cut and paste easily with a smart phone. I could type the link by hand. I would have to write it to a pen and paper first and it would work. If I really need too I could boot up my new chrome book and make a link.

Description : How much work does it take to change on a program, from "Monday to Sunday" to whichever 7 days in a row?

Last Answer : It would depend on the individual program.

Description : What coding languages or other courses should I take on CodeCademy?

Last Answer : The courses that I’ve taken I feel are really only useful for Web design.

Description : How do I simply repeat a line of code 4x in Javascript?

Last Answer : something like a for loop is pretty simple, and gives you a handy counter if needed. for(var i = 0; i < 4; i++) { forward(); }

Description : Programming a NEMA 17 stepper motor to microstep with an Arduino?

Last Answer : There are literally thousands of arduino code examples out there. This is something you should figure out on your own because the act of doing so will make you a better tinkerer. A typical stepper will have like ... digital I/o pins to output the step sequence. Even an uno or mini pro will do that.

Description : Programming a stepper to have a "home" position?

Last Answer : Obviously it would need some way to sense or establish its location, or possibly to move or grope about to establish its location. And it could be good to have some logic for noticing when its assumptions about its environment are wrong.

Description : How to become a Game Developer?

Last Answer : There are really two separate questions (or skills) needed here. 1) programming technique. Have you been a programmer; have you developed software before? That's a skill unto itself Programming for a small ... . I can't give you a better answer, because there are so many options to choose from.

Description : Are hand made WP themes safer than downloaded themes?

Last Answer : You might find this articel about Common WordPress Malware Infections interesting It is old, 2012, but still gives you an idea of the kind of things lurking out there. .

Description : Is freelance programming the only way to travel the world while earning decent money on the go?

Last Answer : How about tour guide and air hostess?

Description : What can a 25 year old unemployed Indian Engineer do to start earning at least 50k INR per month in 1 year?

Last Answer : answer:There's a lot of jargon in this post. I fear anyone not already in the industry will have a hard time figuring out what you're saying. I know I'm lost. If you're looking to ... of our regulars are Indian, and thus as a whole we're not terribly familiar with employment culture in India.

Description : Kindles and E-book library loans?

Last Answer : I doubt that you could download the notes from a library lent E-book. What might work better for you is to get an iPad, use the Kindle app for borrowing e-books and then take your notes in the ... worth stopping by your local library to ask them though; maybe there is a better way you can do it.

Description : Is there a drag and drop software to create apps for cell phones and computers?

Last Answer : No there is not but for android the tools are free and there is a good development environment. You can get it from google code. It's java based which is nice since you don't have to mess with pointers and ... of hacks. I'm a below average hack so be prepared to pay someone well to do it for you.

Description : Do you watch your local PBS channel?

Last Answer : answer:I watch it pretty frequently. It always has been and (if it manages to continue far into the future), always will be a favorite. I grew up watching it with my grandma and it's a nice ... full of much nicer people and it's not at all gimmicky like our competitive cooking shows tend to be.

Description : What does Java run, operate, or do?

Last Answer : answer:This is a bit complicated, but I'll do my best to explain. At a fundamental level a computer program is simply a series of instructions the CPU in your computer executes in sequence. Programming languages ... wait. It's an inherently slower process to do on the fly. Hope that helps a bit.

Description : Programmers: Thoughts on this AI game where you fight via code?

Last Answer : answer:Hmm. Cool, but so far I’m stuck on the tutorial with some sort of error: > Game.mothership.moveTo(1,0) undefined

Description : Geometry Gurus. Can you help me solve for an angle?

Last Answer : answer:The simplest solution would indeed be to have an IF ELSE statement there and have two separate cases depending on whether (RadialPointY - CenterPointY) is positive (@Angle < 180) or ... values it actually is cannot be determined without some sort of test of (RadialPointY - CenterPointY).

Description : Any programmers willing to help me solve a triangle?

Last Answer : Are you sure whether your language is using degrees vs. radians for the angle?

Description : Other than "a" is there a single lower case letter in the English alphabet that qualifies as a word?

Last Answer : Possibly because some people write equations into documents? The lowercase i would show up frequently in that context. But I think Word does actually spellcheck the lowercase i into uppercase, and as I’m writing this, I’m being corrected also.