Doubtly
@Doubtly · Joined Feb 2021
- Answers
- 3,792
- Questions
- 4,963
- Upvotes received
- 430
- Explain the concept of nested structure with suitable example. Structure written inside another structure is called as nesting of two structures. Nested Structures are allowed in C Programming Language.... 1
- Write a program to store the information of student using structure. #include <stdio.h> struct student char name[50]; int roll; float marks; s[100]; int main() int i,n; struct student s[100]; printf("Enter tot... 1
- Explain pointer to pointer with example. Answer: a pointer to pointer (double pointer) is a variable that stores the address of another pointer variable. It is declared with two ast... 1
- Explain the difference between function call by value and function call by reference with suitable programmes. Sr. No Call by value Call by reference 1 In this case the value of the parameters is passed to the called function In this case the referenc... 1
- What is String? Explain any five string functions with example which is available in String.h. Answer: a string in C is an array of characters ending with the null character '\0'. The header string.h provides functions such as strlen,... 1
- Write a menu driven program and perform following operations on matrices such as transpose of matrix #include <stdio.h> #define MAX_SIZE 10 void read_matrix(int matrix[][MAX_SIZE], int rows, int cols) printf("Enter matrix elements:n"); for (... 1
- Write a recursive function and calculate factorial of inputted integer number. Answer: a recursive function calls itself with n-1 until it reaches the base case, using n! = n×(n-1)! and 0! = 1! = 1 . #include <stdio.h>... 1
- WAP to compute permutation and combination values using function. Answer: write a factorial function and two functions that use it: ⁿP_r = n!/(n-r)! and ⁿC_r = n!/r! (n-r)! . #include <stdio.h> long long fa... 1
- [physics] BOARD QUESTION PAPER: MARCH 2022 std 12th HSC pdf download Download PDF file 2
- Explain the storage classes with example. The different locations in the computer where we can store data and their accessibility, initial values etc. very based on the way they are... 1
- What are keywords ? List the keywords Keywords are some special words that have a predefined meaning for the C compiler. Hence, these words cannot be used as identifiers. These a... 2
- Engineering Drawing paper pattern , FE sem 2 Mumbai University Engineering Drawing paper pattern , FE sem 2 Mumbai University 1
- [Chemistry] class 12th maharashtra board Question paper 2020 Download with solutions (HSC) pdf Download PDF Maharashtra 2020 class 12 Chemistry Series: J-346 SET - E Time allowed: 3 hours Maximum Marks: 70 General Instructions: The que... 2
- Which orientation of an electric dipole in a uniform electric field would correspond stable equilibrium? Answer: When the dipole moment vec p points in the same direction as the field vec E (θ = 0°), the dipole is in stable equilibrium. In a uni... 1
- How to draw isometric diagrams in autocad 2007 step 01 : command "snapstyl" step 02 : Enter value ="1" step 03 : for switching dimensions F5 for circle el 2
- The ages of two friends Manjit and Ranjit differ by 3 years. Manjit's father Dharam is twice as old Given data: The age difference between Manjit (M) and Ranjit (R) is 3 years: M - R = 3 Manjit's father, Dharam (D), is twice as old as Manji... 2
- Five years hence, father's age will be three times the age of his son. Five years ago, Answer: Father is 40 years old and son is 10 years old. Let the father's present age be x years and the son's y years. Five years hence: x +... 1
- A and B are friends and their ages differ by 2 years. A's father D Given Data: A and B are friends, and their ages differ by 2 years: A - B = 2 A's father D is twice as old as A: D = 2A B is twice as old as... 1