Doubtly
@Doubtly · Joined Feb 2021
- Answers
- 3,792
- Questions
- 7,778
- Upvotes received
- 432
- What are the different types of linkages? There are three different types of linkages—external, internal and none. External linkage means global, non-static variables and functions,... 1
- What are the differences between a declaration and a definition? There are two differences between a declaration and a definition: In the definition of a variable space is reserved for the variable and som... 1
- What do you mean by scope of a variable? What are the different types of scopes that a variable can have? Scope indicates the region over which the variable's declaration has an effect. The four kinds of scopes are—file, function, block and proto... 1
- Is it true that Operating Systems like Windows, Linux and UNIX are written in C? Major parts of popular operating systems like Windows, UNIX, Linux are still written in C. This is because even today when it comes to perfo... 1
- Write a program to check whether the enter string is palindrome or not. #include<stdio.h> #include<conio.h> #include<string.h> int main(){ char str[20]; int i, len, temp=0; int flag = 0; printf("Enter a string:")... 1
- Write a program to add two matrices m x n #include<stdio.h> int main() int i, j, rows, columns, a[10][10], b[10][10]; int arr[10][10]; printf("n Please Enter Number of rows and colum... 1
- Write a program to accept ‘n’ integer from user into an array and display them in one each line. Answer: Read n, store the n integers in an array with one loop, then print a[i] followed by a newline in a second loop. #include <stdio.h> i... 1
- Explain the recursive function. Write a program to find the factorial of a number using recursive function. A function that calls itself is called as a recursive function and the implementation of a program that uses recursive function is called as... 1
- Write syntax of break and continue statement with example. It is sometimes desirable to skip some statements inside the loop or terminate the loop immediately without checking the test expression. In... 1
- An object of height 7 cm is kept at a distance of 25 cm in front of a concave mirror. Answer: keep the screen 37.5 cm in front of the mirror. The image is real, inverted and magnified, 10.5 cm tall. Using the Cartesian sign co... 1
- Conventions for the use of SI Units: (1) Unit of every physical quantity should be represented by its symbol. (2) Full name of a unit always starts with smaller letter even if t... 1
- System of Units , types and examples (i) CGS: Centimetre Gram Second system (ii) MKS: Metre Kilogram Second system (iii) FPS: Foot Pound Second system. (iv) SI: System Internati... 1
- WAP to find greatest of three number using conditional operator #include<stdio.h> void main() int i,j,k; printf("Enter three no.n"); scanf("%d%d%d",&i,&j,&k); int re=(i>j)?((i>k)?i:k):((j>k)?j:k); printf(... 1
- Describe the phenomena of Fluorescence and Phosphorescence. Fluorescence and phosphorescence are both optical phenomena involving the emission of light by certain substances when they absorb energy fr... 1
- Give the advantages of spectroscopic techniques Identification and characterization of substances. Accurate quantitative analysis. Non-destructive analysis. Versatility across different sa... 1
- Name the different types of molecular spectroscopy. Explain NMR spectroscopy Infrared (IR) Spectroscopy: This technique analyzes the absorption and transmission of infrared radiation to study molecular vibrations and... 1
- Write a note on electromagnetic spectrum Answer: the electromagnetic spectrum is the complete range of electromagnetic radiation arranged in order of wavelength (or frequency), from... 1
- Give the different types of electrochemical cell .Explain any 2 Answer: electrochemical cells are of two main types: (1) galvanic (voltaic) cells, which convert chemical energy into electrical energy, and... 1