is &(&i) ever valid in c? explain.

Answers

Answer 1

In C programming, the expression "&(&i)" is not considered valid.

Here's a step-by-step explanation:
1. "i" represents a variable, which can store an integer value. To declare a variable "i" as an integer, you would write "int i;".
2. "&i" refers to the memory address of the variable "i". The ampersand (&) is known as the "address-of" operator, and it is used to get the address of a variable in memory.
3. Now, let's consider "&(&i)": this expression attempts to get the address of the address of the variable "i". However, this is not valid in C, because the "address-of" operator cannot be applied to the result of another "address-of" operator.
In summary, the expression "&(&i)" is not valid in C programming, as you cannot use the "address-of" operator on the result of another "address-of" operator.

To know more about C programming visit:

https://brainly.com/question/30905580

#SPJ11


Related Questions

what is the difference between an argument that is valid and one that is invalid? construct an example each.

Answers

An argument is said to be valid when its conclusion follows logically from its premises. In other words, if the premises are true, then the conclusion must also be true.

On the other hand, an argument is said to be invalid when its conclusion does not follow logically from its premises. This means that even if the premises are true, the conclusion may not necessarily be true.
For example, consider the following argument:
Premise 1: All cats have tails.
Premise 2: Tom is a cat.
Conclusion: Therefore, Tom has a tail.
This argument is valid because if we accept the premises as true, then the conclusion logically follows. However, consider the following argument:
Premise 1: All dogs have tails.
Premise 2: Tom is a cat.
Conclusion: Therefore, Tom has a tail.
This argument is invalid because even though the premises may be true, the conclusion does not logically follow from them. In this case, the fact that all dogs have tails does not necessarily mean that all cats have tails, so we cannot use this premise to support the conclusion.
To know more about argument visit:

https://brainly.com/question/27100677

#SPJ11

Other Questions
Which is an appropriate unit for a flow rate?O Orders per dayO CurrencyO CustomersO Centimeters QUESTION 9Lisetta is working with a set of data showing the temperature at noon on 10 consecutive days. She adds todays temperature to the data set and, after doing so, the standard deviation falls. What conclusion can be made?-Todays temperature is lower than on any of the previous 10 days.-Todays temperature is lower than the mean for the 11 days.-Todays temperature is lower than the mean for the previous 10 days.-Todays temperature is close to the mean for the previous 10 days.-Todays temperature is close to the mean for the 11 days. A sending host will retransmit a TCP segment if it ________. Group of answer choices none of the above receives an RPT segment receives an ACK segment receives an NAC segment Which of the following is NOT an important biogeochemical cycle found in ecosystems?A. The Water CycleB. The Ecosystem CycleC. The Nitrogen CycleD. The Carbon Cycle find all values of x such that (3, x, 5) and (2, x, x) are orthogonal. (enter your answers as a comma-separated list.) Compare and contrast alfreds and cudreds trait action intraction include 2 details form drama in your answer The function f(x) =501170(0. 98)^x gives the population of a Texas city `x` years after 1995. What was the population in 1985? (the initial population for this situation) Verify(-5/9)+7/21=7/21+(-5/9) why do the inflation rate and the nominal interest rate tend to move together? how much energy is absorbed in heating 30.0 g of water from 0.0c to 100.0c? does changing the rate at which heat is added to the water from 50 j/s to 100 j/s affect this calculation? explain. paper must be heated to 234c to begin reacting with oxygen. this can be done by putting the paper over a flame. why do you think the paper must be heated to start burning? (a) Calculate the work (in MJ) necessary to bring a 101 kg object to a height of 992 km above the surface of the Earth.__ MJ (b) Calculate the extra work (in J) needed to launch the object into circular orbit at this height.__J You want to estimate the number of eighth-grader students in your school who find it relaxing to listen to music. You consider two samples. Fifteen randomly selected members of the band. Every fifth student whose name appears on an alphabetical list of eighth-grade studentsPlease show work what three things do marketers do to conduct target marketing? Rohan had Rupees (6x + 25 ) in his account. If he withdrew Rupees (7x - 10) how much money is left in his acoount Write a Python program that checks whether a specified value is contained within a group of values.Test Data:3 -> [1, 5, 8, 3] -1 -> [1, 5, 8, 3] You switch from a 60x oil immersion objective with an NA of 1.40 to a 40x air immersion objective with an NA of 0.5. In this problem you can take the index of refraction of oil to be 1.51.Part (a) What is the acceptance angle (in degrees) for the oil immersion objective? 1 =Part (b) What is the acceptance angle (in degrees) for the air immersion objective? 2 = Why did many civil war songs appeal to peoples feelings of patriotism How does the gradient you calculated for the Arkansas River near Leadville, Colorado compare with the gradient for the river in Arkansas? Why?The gradient in Colorado is less steep than in Arkansas because in Colorado it is closer to the headwaters region.The gradient in Colorado is less steep than in Arkansas because in Colorado it is closer to the stream's mouth.The gradient in Colorado is more steep than in Arkansas because in Colorado it is closer to the headwaters region.The gradient in Colorado is more steep than in Arkansas because in Colorado it is closer to the river's mouth. What is the molality of a 21.8 m sodium hydroxide solution that has a density of 1.54 g/ml?