From the course: Advanced C Programming: Optimize Performance and Efficiency
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Challenge: Incrementing a pointer - C Tutorial
From the course: Advanced C Programming: Optimize Performance and Efficiency
Challenge: Incrementing a pointer
(upbeat music) - [Instructor] Your challenge is to write a program that uses an integer and integer pointer variable. Assign a value to the integer by using the pointer, then increment the value by using the pointer displaying both results. Give yourself about 15 minutes to complete this challenge.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
When to use the ampersand operator4m 20s
-
(Locked)
How to bind the asterisk operator4m 51s
-
(Locked)
Challenge: Incrementing a pointer23s
-
(Locked)
Solution: Incrementing a pointer1m 10s
-
(Locked)
Understanding arrays and pointers4m 4s
-
(Locked)
Challenge: Displaying an array29s
-
(Locked)
Solution: Displaying an array54s
-
(Locked)
Obeying the order of precedence6m 27s
-
(Locked)
-