Develop a C program to plot Pascal’s triangle
4.A) Develop a C program to plot a Pascal’s triangle Answer:-
4.A) Develop a C program to plot a Pascal’s triangle Answer:-
3.C) Demonstrate the working of break and continue statement with a suitable example Answer:- Break and continue: break and continue are unconditional control constructs. i. Break:- This statement is useful…
3.B) Write a C program to print numbers from m to n. (where n > m) Answer:-
3.A) How similar and different while & for loops are? Give example Answer:- For loop While loop The structure of for loop is –for(initial condition; number of iterations){//body of the…
2.C) Write a C program to calculate the area of a circle. Answer:-
2.B) Explain the various rules for forming identifier names. Give examples of valid andinvalid identifiers names for the same. Answer:- Rules for forming identifier names:- Identifier should contain only alphabets…
1.C) How primary memory is different from secondary memory? Explain Answer:- Primary Memory:- The memory that is accessible directly by the CPU of a computer is called primary memory. This…
1.B) Define the following with a suitable example. i. Bit ii. Nibble iii.Byte iv. Word v. Kilobyte Answer:- Bit:- The data are represented by the state of electronic switches. A…
1.A) Describe the evolution of Computers by mentioning how computers in onegeneration are better than their predecessors. Answer :- First-generation computers: The key features of first-generation computers are: First-generation computers…