C Programming - Questions
Here, you find the chapter wise questions of the C Programming and and also view all the questions of C Programming.
Short Questions
-
1. Explain Difference Between Binary File And Text Files.
2. What Is Array? Explain 1D Array.
3. Why Need Of Masking Bit Field.
4. What Is Bitwise Operator? Explain Left Shift And Right Shift.
5. Diference Between Call By Value And Call By Reference
6. What Is The Pointer? Explain.
7. What Is Making Bit Field.
8. Difference Between String And Character Array.
9. What Is An Array? Explain 2D Array With Memory Representation.
10. Which escape character can be used to beep from speaker in c
11. Evaluate the following expression in C Programming
12. Write the C expression for the following: i) A = 5𝑥+3𝑦/𝑎+𝑏 ii) C = e^|𝑥+𝑦−10| iii) D = e√𝑥+e√𝑦 / 𝑥𝑠i𝑛√𝑦 iv) B = √𝑠(𝑠 − 𝑎)(𝑠 − 𝑏)(𝑠 − 𝑐) v) E = 𝑥^25 + 𝑦^35 Vi) X = −b + √𝑏2−4𝑎𝑐 / 2𝑎
13. Write an algorithm to find sum and average of N numbers.
14. Write a C program that computes the size of int, float, double and char variables.
15. WACP to convert temperature in Fahrenheit into temperature in Celsius.
16. WACP to convert temperature in Celsius into temperature in Fahrenheit.
17. WACP to find sum and average of three given numbers.
18. WACP to find area and perimeter of a rectangle.
19. WACP to find diameter, area and perimeter of a circle.
20. What is the value of X in the following code segments? Justify your answers. i) int a,b; float x; a=4; b=5; ii) int a,b; float x; a=4; b=5; x = (float) b/a;x=b/a;
View all
Questions