answersLogoWhite

0


Best Answer

Orthogonality is to do with a right angle, what has orthogonality got to do with general computer programming?

I fear this is another badly asked question by someone engaged in homework avoidance and that the quality of the question indicates the success of previous

homework avoidance.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
User Avatar

Anonymous

Lvl 1
3y ago
Orthogonality refers to the ability of a program to handle "unconventional" operations, such as adding or multiplying a string with an int. Another example is that in C, structs can be returned from a function but arrays can not
User Avatar

Anonymous

Lvl 1
3y ago
I came here with the same question as OP, but now I'm answering questions for someone who must not know much about computer theory, only how to code. Check yourself before acting like an expert.

Add your answer:

Earn +20 pts
Q: What is an example of lack of orthogonality in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is one example of a lack of orthogonality in the design of c?

ali asghari: I would say that the lack of bounds checking in array access would qualify. Bounds checking incurs a lot of overhead which is not needed in a properly written program. C is designed with the idea that one has to trust the programmer. If the programmer thinks that a bounds check is needed he must explicitly program it everywhere he accesses the array. This is one of the advantages of C++ objects where a single bounds check can be made in the array access methods as well as allowing for non-bounds-checked access.


Give an example of lack of orthogonality in designing of c language?

The design of C language may be examined from the perspective of orthogonality. C language is somewhat inconsistent in its treatment of concepts and language structure, making it difficult for the user to learn (and use) the language. Examples of exceptions follow:Structures (but not arrays) may be returned from a function.An array can be returned if it is inside a structure.A member of a structure can be any data type (except void), or the structure of the same type.An array element can be any data type (except void).Everything is passed by value (except arrays).Void can be used as a type in a structure, but a variable of this type cannot be declared in a function.DisadvantagesToo much orthogonality is also troublesome. This concept may be examined in C language:All statements (including assignment, if and while) return some value, and can be used in expressions.Logic and arithmetic expressions can be intermixed.This can cause side effects and cryptic code.Since languages need large number of components, too much orthogonality can cause problems. From a language designer's point of view, the most difficult task (and an important one) is to strike a balance.(wiki - by Buddhila Ashen Pitigala)


What is orthogonality in econometrics?

Means non correlation


What is the dificiency?

caused by a lack of a nutrient in the diet


How discrete cosine transform is orthogonal?

cousine transform orthogonality is good


A disease caused by lack of vitamin C?

Lack of vitamin C is Scurvy.


What is loss of orthogonality means in OFDM technology?

In OFDM, sub-carrier spacing is maintained in such a way that the maximum of one sub-carrier occurs at the minimum of the successive sub-carrier, a loss of orthogonality results if this pattern is not achieved in the sub-carriers of OFDM transmission. Loss of orthogonality is due to ISI, ICS, Frequency offset amongst the sub-carriers of OFDM.


What happens to a person who does not have sufficient vitamin A and vitamin C?

Scurvy. Vitamin C is in fruit, and a lack of fruity-foods will lead to Scurvy.


How do you check orthogonality of a matrix using arrays?

the transpose of null space of A is equal to orthogonal complement of A


Why are deficiency disease caused?

A deficiency is a lack or shortage, therefore deficiency diseases are caused by a lack or shortage of necessary nutrients in the body. One example is scurvy, a disease associated with pirates that occurs when an individual suffers from a vitamin C deficiency.


What is the name for lack of vitamin c?

scrvy


What does lack of vitumin c cause?

scurvy