Question

In: Computer Science

1. Which are the two main problems solved by trigraphs? 2. Which are the two institutions...


1. Which are the two main problems solved by trigraphs?
2. Which are the two institutions responsible for controlling and documenting C language? 3. What is the difference between C11 and C95 standards?

Solutions

Expert Solution

1. Which are the two main problems solved by trigraphs?

The symbols [ ] { } ^ \ | ~ # are frequently used in C programs, but in the late 1980s, there were code sets in use (ISO 646 variants, for example, in Scandinavian countries) where the ASCII character positions for these were used for national language variant characters (e.g. £ for # in the UK; Æ Å æ å ø Ø for { } { } | \ in Denmark; there was no ~ in EBCDIC). This meant that it was hard to write C code on machines that used these sets.

To solve this problem, the C standard suggested the use of combinations of three characters to produce a single character called a trigraph. A trigraph is a sequence of three characters, the first two of which are question marks.

Sequence Replacement
======== ===========
  ??=         #
  ??(         [
  ??/         \
  ??)         ]
  ??'         ^
  ??<         {
  ??!         |
  ??>         }
  ??-         ~

Q2. Which are the two institutions responsible for controlling and documenting C language?

1.ANSI ( American National Standards Institute ) 2.  ISO (International Organization for Standardization )

Q3. Difference b/w C11 and C95?

C95: A minor update was released in 1995, sometimes referred to as "C95". This was not a major revision, but rather a technical amendment formally named ISO/IEC 9899:1990/Amd.1:1995. The main change was introduction of wide character support.

C11:In 2011, the C standard was changed again (ISO 9899:2011). This version is called C11. Various new features like _Generic, _Static_assert and thread support were added to the language. The update had a lot of focus on multi-core, multi-processing and expression sequencing. From 2011-2017, this was "the C language".


Related Solutions

28. Fluid Momentum problems are solved with the aid of two diagrams of such problems. Explain,...
28. Fluid Momentum problems are solved with the aid of two diagrams of such problems. Explain, list or define items which would be included on each of the two diagrams required, and describe or show features common to both diagrams. Why are these two drawings typically kept separate? 29. Propellers and turbines are similar in that both act as screws. Attribute each of the following to Props, Turbines, or Both: a. __________Average velocity through the blades, (V1 + V2)/2 b....
​Think about the two main policy-oriented institutions in Washington:
Think about the two main policy-oriented institutions in Washington: Congress and the president. Which of these institutions should take the lead regarding policy? Which of these is a more democratic institution? Make sure to justify your answer.How satisfied do you think the founders would be with the modern presidency? Consider issues of representation, leadership, and collegiality.
Which of the following problems cannot be solved using a proportional relationship? (i) A 30-mile drive...
Which of the following problems cannot be solved using a proportional relationship? (i) A 30-mile drive is about 48.3 kilometers. Approximately how many kilometers is a 60-mile drive? (ii) A gallon of gas costs $3.49 on October 8, 2011 at the Chevron station on the corner of Imola and Soscol. What does 10 gallons of gas cost on that same day at the same station? (iii) A car travels 50 miles in 2 hours in heavy traffic. How long does...
What are the problems that occur with concrete that can be solved by nanotechnology?
What are the problems that occur with concrete that can be solved by nanotechnology?
Explain the main differences between grammars in problems 1, 2 and 3. 1. Expr -> Expr...
Explain the main differences between grammars in problems 1, 2 and 3. 1. Expr -> Expr + Term I Expr * Term I Term     Term-> 0 I ... I 9 I (Expr) 2. Expr -> Term+ Expr I Term * Expr I Term     Term -> 0 I …. 9 I (Expr) 3. Expr -> Expr + Term I Term Term-> Term* Factor I Factor    Factor-> 0 I ... I 9 I (Expr)
1- discuss some credit quality problems faced by financial institutions.
1- discuss some credit quality problems faced by financial institutions.
1- discuss some credit quality problems faced by financial institutions.
1- discuss some credit quality problems faced by financial institutions.
What are the two main problems arise from the CPI bias. What are the four main...
What are the two main problems arise from the CPI bias. What are the four main ways in which the CPI is an upward-biased measure of the price level?
a. Describe the two main types of medical institutions that existed in preindustrial America b. Why...
a. Describe the two main types of medical institutions that existed in preindustrial America b. Why did health insurance in the U.S become employer-based government mandates?
Need examples of problems and proofs being solved surrounding group cohomology
Need examples of problems and proofs being solved surrounding group cohomology
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT