0% found this document useful (0 votes)
5 views1 page

C Programming Concepts and Examples

The document outlines a series of important questions related to C programming, covering topics such as arrays, pointers, selection statements, loops, and jump statements. It includes requests for program examples and explanations of concepts like two-dimensional arrays, variable length arrays, and arrays of pointers and strings. The questions aim to assess understanding and application of fundamental C programming principles.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

C Programming Concepts and Examples

The document outlines a series of important questions related to C programming, covering topics such as arrays, pointers, selection statements, loops, and jump statements. It includes requests for program examples and explanations of concepts like two-dimensional arrays, variable length arrays, and arrays of pointers and strings. The questions aim to assess understanding and application of fundamental C programming principles.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

IMPORTANT QUESTIONS

1. Write a C program to declare and initialize a one-dimensional array and a two-


dimensional array and find the sum of their elements.
2. Write a C program to demonstrate how a pointer is used to access elements of an
array. Display all elements using pointer notation.
3. Discuss two-dimensional arrays and write a program to perform matrix addition.
4. Define pointers in C. Explain pointer variables, pointer operators with examples.
5. Explain selection statements in C with syntax and suitable program examples for each
type.
6. Explain the goto, break, return, and continue statements in C with syntax and suitable
program examples for each.
7. Explain how a single-dimensional array is passed to a function in C.
8. Explain the relationship between arrays and pointers with suitable examples.
9. Define variable length array. Illustrate how variable length array is different from
static array.
10. Explain the do-while loop with syntax and example.
11. Discuss jump statements in C (break, continue, goto, return, exit()) with examples.
12. Write a short note on the ? alternative in C.
13. What are arrays of pointers? Explain with examples.
14. What are arrays of strings? Explain with examples.
15. Explain multiple indirection (pointer to pointer) with diagrams.

You might also like