List the basic data types available in C. Explain with an example.
02] a] List the basic data types available in C. Explain with an example. Integer (int) :- Data type that can store non-decimal numbers in memory. ex:- Floating point (float)…
02] a] List the basic data types available in C. Explain with an example. Integer (int) :- Data type that can store non-decimal numbers in memory. ex:- Floating point (float)…
01 c] List any three input and three output devices of a computer and explain one each. Answer:- Input Devices:- Keyboard: Every computer supports a keyboard – either a physical…
01 a] Define Computer. Broadly classify the computers based on their Speed, Storage, and Price. Answer:- “Computer is an electronic device for storing and processing data, typically in binary form,…
10.C) Narrate the purpose of various C language Pre-processor Directives Answer:-
10.B) What is a pointer? Discuss Pointer arithmetic with suitable C code Answer:- “A pointer is a variable that holds the address of another variable. The pointer variablecontains only the…
10.A) How structure in C is different from the union? Give example Answer:- Example of Structure struct student { int rollno; char name[50]; string phone; }; Example of Union…
9. B) Define a structure by the name DoB consisting of three variable members dd, mm, and yyof type integer. Develop a C program that would read values to the…
9.A) How does a structure differ from an array? Answer:- 9. A) How does a structure differ from an array? Answer : Sl.no Arrays Structures 1. Array is a collection…
8. C) How actual parameters are different from formal parameters? Explain. Answer: Sl.no Actual parameters Formal parameters 1. When a function is called, the values that are passed in the…
8. B) Define a function. List various advantages of a function. Answers:- “Functions are independent program modules that are designed to carry out a particulartask.” In functions we have two…