C Programming Assignments
C Programming Assignments
QUESTION 2
Name any 7 data types in C programming (7marks)
QUESTION 3
QUESTION 4
THEORY 2
DUE DATE 22 AUGUST 2023 9am
QUESTION 1
In C language, the variables NAME, name, and Name are all the same. TRUE
or FALSE? (5marks)
QUESTION 2
PRACTICAL 1
DUE DATE 27 AUGUST 2024 9am
QUESTION 1
What is the difference between the = symbol and == symbol? (5marks)
QUESTION 2
How do you declare a variable that will hold string values? (5marks)
QUESTION 3
How do you access the values within an array? (5marks)
QUESTION 4
12
123
1234
12345 (10marks)
ZVINOWANDA S 0777 779 084
PRACTICAL 2
DUE DATE 30 AUGUST 2024 9am
QUESTION 1
What are reserved words? (4marks)
QUESTION 2
What is a newline escape sequence? (4marks)
QUESTION 3
Write a simple code fragment that will check if a number is positive or negative
(7marks)
QUESTION 4
Write a program using do whlile loop to give the following output
x= 1
x= 2
x= 3 (10marks)