Question: 1. C Programming Review a) Write a code snippet to allocate a 100 element integer array on the heap and initialize all elements to 0.
1. C Programming Review
a) Write a code snippet to allocate a 100 element integer array on the heap and initialize all elements to 0. Do not use C++ language features that are not available in C. (Hint: use malloc.)
b) Declare a C style struct to represent a linked list.
c) Implement a C function that takes a string as an argument and finds the first period character ( . ) in the string. It may return either the index or address of the period character.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
