Programming in C questions and answers


Share Via:
        



Total of 97 Questions.

  Programming in C Topics:


1.   Write a program to add,subtract,multiply and divide two integer using user-defined type function with return type (Answered)
Write a program to add,subtract,multiply and divide two integer using user-defined type function with return type .
Posted On:Fri 7, January 2022 12:32:19 pm
2.   Write a C program to keep records and perform statistical analysis for a car sales agency. The information of each car contains the number of the doors, the year, and the price. Note that you cannot use nested loops in the program. The expected output should contain your name, your CS 159 section number and your student ID as shown in the sample output. In the program, materials covered in the(Answered)
Write a C program to keep records and perform statistical analysis for a car sales agency. The information of each car contains the number of the doors, the year, and the price. Note that you cannot use nested loops in the program. The expected output should contain your name, your CS 159 section number and your student ID as shown in the sample output. In the program, materials covered in the.
Posted On:Fri 8, October 2021 17:41:10 pm
3.   Write a C program that calculates the average salary, average rank and the average age of employees of a company. In the program, while loop, do/while loop, else statement, global variables and constant statement cannot be used. The main function should run successfully with different scenarios. A. The main function should perform the following: • Defines a local string variable named PartA_O10 (Answered)
Write a C program that calculates the average salary, average rank and the average age of employees of a company. In the program, while loop, do/while loop, else statement, global variables and constant statement cannot be used. The main function should run successfully with different scenarios. A. The main function should perform the following: • Defines a local string variable named PartA_O10 .
Posted On:Fri 8, October 2021 17:28:14 pm
4.   Write a C program to keep track of frequency of flights (number of trips per flight) taken by different passengers of an airlines company. You are not allowed to use array index notation in the program. Instead, you must use a pointer notation to access different elements of an array. A for loop and a do/while loop are not allowed to be used in the main function. The program design should use main(Answered)
Write a C program to keep track of frequency of flights (number of trips per flight) taken by different passengers of an airlines company. You are not allowed to use array index notation in the program. Instead, you must use a pointer notation to access different elements of an array. A for loop and a do/while loop are not allowed to be used in the main function. The program design should use main.
Posted On:Fri 8, October 2021 17:12:30 pm
5.   What is the use of goto statement?(Answered)
What is the use of goto statement?.
Posted On:Sat 13, March 2021 12:45:49 pm
6.   How do you convert strings to numbers in C?(Answered)
How do you convert strings to numbers in C?.
Posted On:Sat 13, March 2021 12:45:04 pm
7.   What is the difference between top down approach and bottom up approach in programming languages?(Answered)
What is the difference between top down approach and bottom up approach in programming languages?.
Posted On:Sat 13, March 2021 12:41:09 pm
8.   Can you pass an entire structure to functions?(Answered)
Can you pass an entire structure to functions?.
Posted On:Sat 13, March 2021 12:40:04 pm
9.   What is pointer linking with operating system?(Answered)
What is pointer linking with operating system?.
Posted On:Sat 13, March 2021 12:38:39 pm
10.   What is an endless loop?(Answered)
What is an endless loop?.
Posted On:Sat 13, March 2021 12:37:27 pm
11.   Is void pointer arithmetic a valid one?(Answered)
Is void pointer arithmetic a valid one?.
Posted On:Sat 13, March 2021 12:36:12 pm
12.   Is pointer arithmetic a valid one?(Answered)
Is pointer arithmetic a valid one?.
Posted On:Sat 13, March 2021 12:35:28 pm
13.   What is a sequential access file?(Answered)
What is a sequential access file?.
Posted On:Sat 13, March 2021 12:34:32 pm
14.   Suppose a global variable and local variable have the same name. Is it is possible to access a global variable from a block where local variables is defined?(Answered)
Suppose a global variable and local variable have the same name. Is it is possible to access a global variable from a block where local variables is defined?.
Posted On:Sat 13, March 2021 12:33:45 pm
15.   What is a newline escape sequence?(Answered)
What is a newline escape sequence?.
Posted On:Sat 13, March 2021 12:32:38 pm
16.   What is the difference between memcpy() and memmove() functions in C?(Answered)
What is the difference between memcpy() and memmove() functions in C?.
Posted On:Sat 13, March 2021 12:30:41 pm
17.   What are formal parameters?(Answered)
What are formal parameters?.
Posted On:Sat 13, March 2021 12:29:03 pm
18.   What is & and * operators in C?(Answered)
What is & and * operators in C?.
Posted On:Sat 13, March 2021 12:27:38 pm
19.   What is the difference between single equal "=" and double equal "==" operators in C?(Answered)
What is the difference between single equal "=" and double equal "==" operators in C?.
Posted On:Sat 13, March 2021 12:26:41 pm
20.   What is a nested loop?(Answered)
What is a nested loop?.
Posted On:Sat 13, March 2021 12:25:26 pm
21.   What is the different file extensions involved when programming in C?(Answered)
What is the different file extensions involved when programming in C?.
Posted On:Sat 13, March 2021 12:24:32 pm
22.   What are linked lists?(Answered)
What are linked lists?.
Posted On:Sat 13, March 2021 12:23:43 pm
23.   What is a stack?(Answered)
What is a stack?.
Posted On:Sat 13, March 2021 12:22:41 pm
24.   What is FIFO?(Answered)
What is FIFO?.
Posted On:Sat 13, March 2021 12:21:18 pm
25.   What is static memory allocation and dynamic memory allocation?(Answered)
What is static memory allocation and dynamic memory allocation?.
Posted On:Sat 13, March 2021 12:17:17 pm
26.   What are binary trees?(Answered)
What are binary trees?.
Posted On:Sat 13, March 2021 12:15:57 pm
27.   What is the difference between memcpy() and strcpy() functions in C?(Answered)
What is the difference between memcpy() and strcpy() functions in C?.
Posted On:Sat 13, March 2021 12:15:23 pm
28.   What is file pointer in C?(Answered)
What is file pointer in C?.
Posted On:Sat 13, March 2021 12:14:17 pm
29.   What happens when the user gives a command to run a program?(Answered)
What happens when the user gives a command to run a program?.
Posted On:Sat 13, March 2021 12:13:06 pm
30.   What is null pointer in C?(Answered)
What is null pointer in C?.
Posted On:Sat 13, March 2021 12:11:56 pm
31.   What is NULL in C?(Answered)
What is NULL in C?.
Posted On:Sat 13, March 2021 12:11:04 pm
32.   What is the use of "# define" in C?(Answered)
What is the use of "# define" in C?.
Posted On:Sat 13, March 2021 12:10:02 pm
33.   What are the advantages and disadvantages of a heap?(Answered)
What are the advantages and disadvantages of a heap?.
Posted On:Sat 13, March 2021 12:08:53 pm
34.   What is void in C?(Answered)
What is void in C?.
Posted On:Sat 13, March 2021 12:06:51 pm
35.   Can a variable be both const and volatile?(Answered)
Can a variable be both const and volatile?.
Posted On:Sat 13, March 2021 12:06:14 pm
36.   What is wild pointer in C?(Answered)
What is wild pointer in C?.
Posted On:Sat 13, March 2021 12:05:03 pm
37.   What are actual arguments?(Answered)
What are actual arguments?.
Posted On:Sat 13, March 2021 12:04:18 pm
38.   What is the difference between getch() and getche()?(Answered)
What is the difference between getch() and getche()?.
Posted On:Sat 13, March 2021 12:03:13 pm
39.   What are reserved words?(Answered)
What are reserved words?.
Posted On:Sat 13, March 2021 12:02:10 pm
40.   What is enum in C?(Answered)
What is enum in C?.
Posted On:Sat 13, March 2021 12:01:07 pm
41.   What are the uses of pointers?(Answered)
What are the uses of pointers?.
Posted On:Sat 13, March 2021 12:00:30 pm
42.   What is a pointer?(Answered)
What is a pointer?.
Posted On:Sat 13, March 2021 11:59:48 am
43.   What is a file?(Answered)
What is a file?.
Posted On:Sat 13, March 2021 11:57:31 am
44.   What are the key features or characteristics of C languages?(Answered)
What are the key features or characteristics of C languages?.
Posted On:Sat 13, March 2021 11:56:41 am
45.   What are multidimensional arrays?(Answered)
What are multidimensional arrays?.
Posted On:Sat 13, March 2021 11:55:38 am
46.   Can we make our own header files?(Answered)
Can we make our own header files?.
Posted On:Sat 13, March 2021 11:55:03 am
47.   What is translation unit?(Answered)
What is translation unit?.
Posted On:Sat 13, March 2021 11:54:16 am
48.   What is the significance of storage class?(Answered)
What is the significance of storage class?.
Posted On:Sat 13, March 2021 11:53:14 am
49.   What is bitwise operator in C?(Answered)
What is bitwise operator in C?.
Posted On:Sat 13, March 2021 11:52:06 am
50.   What are the different types of operators in C?(Answered)
What are the different types of operators in C?.
Posted On:Sat 13, March 2021 11:51:20 am
51.   What are the different types of operators in C?(Answered)
What are the different types of operators in C?.
Posted On:Sat 13, March 2021 11:49:33 am
52.   What is operator in C?(Answered)
What is operator in C?.
Posted On:Sat 13, March 2021 11:48:33 am
53.   Do function prototypes get stored in executable file?(Answered)
Do function prototypes get stored in executable file?.
Posted On:Sat 13, March 2021 11:47:47 am
54.   What is the difference between the expression "++b" and "b++"?(Answered)
What is the difference between the expression "++b" and "b++"?.
Posted On:Sat 13, March 2021 11:45:03 am
55.   What is identifier in C?(Answered)
What is identifier in C?.
Posted On:Sat 13, March 2021 11:43:12 am
56.   What is global variable in C?(Answered)
What is global variable in C?.
Posted On:Sat 13, March 2021 11:38:04 am
57.   What are the types of I/O statements available in C?(Answered)
What are the types of I/O statements available in C?.
Posted On:Sat 13, March 2021 11:36:57 am
58.   What is local variable in C?(Answered)
What is local variable in C?.
Posted On:Sat 13, March 2021 11:36:05 am
59.   What is environment variable in C?(Answered)
What is environment variable in C?.
Posted On:Sat 13, March 2021 11:35:20 am
60.   What are the different types of variables in C?(Answered)
What are the different types of variables in C?.
Posted On:Sat 13, March 2021 11:34:38 am
61.   What are the types of C tokens?(Answered)
What are the types of C tokens?.
Posted On:Sat 13, March 2021 11:33:53 am
62.   What is token in C?(Answered)
What is token in C?.
Posted On:Sat 13, March 2021 11:33:03 am
63.   What are the differences between exit() and return statement?(Answered)
What are the differences between exit() and return statement?.
Posted On:Sat 13, March 2021 11:32:08 am
64.   What is a subprogram or module?(Answered)
What is a subprogram or module?.
Posted On:Sat 13, March 2021 11:31:02 am
65.   Where are auto local variables are stored?(Answered)
Where are auto local variables are stored?.
Posted On:Sat 13, March 2021 11:28:24 am
66.   What is relocation?(Answered)
What is relocation?.
Posted On:Sat 13, March 2021 11:27:21 am
67.   What is meant by preprocessor?(Answered)
What is meant by preprocessor?.
Posted On:Sat 13, March 2021 11:26:44 am
68.   What is static function in C?(Answered)
What is static function in C?.
Posted On:Sat 13, March 2021 11:25:27 am
69.   What is mean by debugging?(Answered)
What is mean by debugging?.
Posted On:Sat 13, March 2021 11:22:17 am
70.   What are all decisions control statements in C?(Answered)
What are all decisions control statements in C?.
Posted On:Sat 13, March 2021 11:20:02 am
71.   What is a compiler?(Answered)
What is a compiler?.
Posted On:Sat 13, March 2021 11:18:24 am
72.   What is bebugging?(Answered)
What is bebugging?.
Posted On:Sat 13, March 2021 11:15:50 am
73.   What is the difference between rand(), random(), and randomize()?(Answered)
What is the difference between rand(), random(), and randomize()?.
Posted On:Sat 13, March 2021 11:14:32 am
74.   What are dangling pointers in C?(Answered)
What are dangling pointers in C?.
Posted On:Sat 13, March 2021 11:11:51 am
75.   What are the types of constants in C?(Answered)
What are the types of constants in C?.
Posted On:Sat 13, March 2021 11:11:03 am
76.   What is a constant in C?(Answered)
What is a constant in C?.
Posted On:Sat 13, March 2021 11:10:14 am
77.   What are the different types of modifiers in C?(Answered)
What are the different types of modifiers in C?.
Posted On:Sat 13, March 2021 11:09:20 am
78.   What is the difference between calloc and malloc?(Answered)
What is the difference between calloc and malloc?.
Posted On:Sat 13, March 2021 11:07:06 am
79.   What is the difference between exit() and return() in C?(Answered)
What is the difference between exit() and return() in C?.
Posted On:Sat 13, March 2021 11:05:18 am
80.   List out some of C compilers?(Answered)
List out some of C compilers?.
Posted On:Sat 13, March 2021 11:04:10 am
81.   What is the syntax for comments in C?(Answered)
What is the syntax for comments in C?.
Posted On:Sat 13, March 2021 11:03:14 am
82.   What is a program flowchart?(Answered)
What is a program flowchart?.
Posted On:Sat 13, March 2021 11:00:32 am
83.   What is the difference between declaration and definition of a variable?(Answered)
What is the difference between declaration and definition of a variable?.
Posted On:Sat 13, March 2021 10:57:38 am
84.   What is the difference between interpreter and compiler?(Answered)
What is the difference between interpreter and compiler?.
Posted On:Sat 13, March 2021 10:56:44 am
85.   What is data type in C?(Answered)
What is data type in C?.
Posted On:Sat 13, March 2021 10:53:51 am
86.   Is C language case sensitive?(Answered)
Is C language case sensitive?.
Posted On:Sat 13, March 2021 10:52:38 am
87.   What is modular programming?(Answered)
What is modular programming?.
Posted On:Sat 13, March 2021 10:51:49 am
88.   State Whether C language is low level language, or middle level language?(Answered)
State Whether C language is low level language, or middle level language?.
Posted On:Sat 13, March 2021 10:49:17 am
89.   What is the difference between C and Java?(Answered)
What is the difference between C and Java?.
Posted On:Sat 13, March 2021 10:48:01 am
90.   What is meant by programming language?(Answered)
What is meant by programming language?.
Posted On:Sat 13, March 2021 10:45:05 am
91.   What is structured programming?(Answered)
What is structured programming?.
Posted On:Sat 13, March 2021 10:43:41 am
92.   Is C a structured programming language?(Answered)
Is C a structured programming language?.
Posted On:Sat 13, March 2021 10:42:58 am
93.   C language has been developed in which language?(Answered)
C language has been developed in which language?.
Posted On:Sat 13, March 2021 10:40:38 am
94.   Who developed C language?(Answered)
Who developed C language?.
Posted On:Sat 13, March 2021 10:38:43 am
95.   What is the difference between C and C++?(Answered)
What is the difference between C and C++?.
Posted On:Sat 13, March 2021 10:36:55 am
96.   Which level is C language belonging to?(Answered)
Which level is C language belonging to?.
Posted On:Sat 13, March 2021 10:35:35 am
97.   What are the types of errors that occur in C program? (Answered)
What are the types of errors that occur in C program? .
Posted On:Sat 13, March 2021 10:32:24 am
Page 1 of 1
More Questions Categories:


About Us

Contact us

Terms of use | Privacy policy

Follow Us:               

All Rights Reserved © 2024; pscustudies.com