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

CS3251 2mark

The document discusses various topics related to C programming language including differences between character and strings, global variables, array indexing and initialization, pointer arithmetic, call by value vs reference, union members, typedef, unformatted files, state transaction processing, C keywords, relational and assignment operators, dynamic memory allocation, differences between structures and unions, impact of avoiding fclose in file handling, and command line arguments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

CS3251 2mark

The document discusses various topics related to C programming language including differences between character and strings, global variables, array indexing and initialization, pointer arithmetic, call by value vs reference, union members, typedef, unformatted files, state transaction processing, C keywords, relational and assignment operators, dynamic memory allocation, differences between structures and unions, impact of avoiding fclose in file handling, and command line arguments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

Distinguish between character and string


2. When to use global variable in programming?
3. What is the starting index of an array?
4. How many different ways of initializing array?
5. Define pointer arithmetic?
6. Difference between call by value and call by reference.
7. How can you access the members of the Union?
8. Specify the use of typedef.
9. What are unformatted data files?
10. Write short note on State Transaction Processing.
11. Write short notes on Keywords in C language.
12. Differentiate between the statements a = 5 and a == 5 in language C?
13. Write down the syntax for array declaration.
14. What is the purpose and prototype of the function 'strcpy'?
15. Define the term recursion in language C.
16. What is the relation between the operators '&' and '*' in C pointers?
17. In language C can we allocate memory dynamically? How?
18. What are the key differences between structure and union?
19. What will be the impact if 'fclose()' function is avoided in a file handling C program?
20. What are command line arguments?

You might also like